I am working on a client mini-app upgrade. They use this very specific CNC machine interface that kicks results per job out via a TEXT file. This text file gets VERY large by the end of the job.
The previous app that was built would just constantly grab the same text file location on the network and load it into a database (access97), then compare, and parse the changes out.
The problem is that the CNC has been upgraded and is handling larger jobs - the previous app can't handle the text file size load, as it gets very large after 4 - 8 hours of non-stop running.
So I am looking into solutions - I have run into a stumbling block that the Text Dump file has to continue to happen. The CNC machine appends this one text file non-stop for 4 - 8 hours.
Each line has a time/date entry and the dimensions / info. I have all the case statements in VB 6 to read, translate, and react to end user as it happens real time - the problem is the text file is SLOW as it gets super large.
Is there a way in VB6 to open the text file and just pull in the NEW line of code constantly - instead of grabbing the entire text file and loading the entire thing, and then pulling out the NEW line?
It has to be as efficient as possible.
Any help or direction is great.
- L
The previous app that was built would just constantly grab the same text file location on the network and load it into a database (access97), then compare, and parse the changes out.
The problem is that the CNC has been upgraded and is handling larger jobs - the previous app can't handle the text file size load, as it gets very large after 4 - 8 hours of non-stop running.
So I am looking into solutions - I have run into a stumbling block that the Text Dump file has to continue to happen. The CNC machine appends this one text file non-stop for 4 - 8 hours.
Each line has a time/date entry and the dimensions / info. I have all the case statements in VB 6 to read, translate, and react to end user as it happens real time - the problem is the text file is SLOW as it gets super large.
Is there a way in VB6 to open the text file and just pull in the NEW line of code constantly - instead of grabbing the entire text file and loading the entire thing, and then pulling out the NEW line?
It has to be as efficient as possible.
Any help or direction is great.
- L