01-11-2006 05:20 AM
01-11-2006 08:54 AM
Not sure if I have understood your problem - could you not simply use GetFirstFile () with a search name of "*-.txt"? (This function allows for wildcard characters; your incomplete filenames seem to always end with a "-" before the ".txt".)
JR
01-12-2006 03:57 PM
Hi there,
Thanks for posting on the NI discussion forums.
I would concur with JR's suggested method here. It would seem that the naming of your files will tell you whether the file is 'complete' (of maximum size) or not by the fact the file name will end in '-.txt'.
As JR suggests, you will be able to find your desired file, i.e. the incomplete file, if you simply search for the file with the name ending in those characters. Please post back if you have any further issues.
Thanks,
01-13-2006 01:43 AM
Many thanks for your help. I have now used this information to create better structured code.
I am now find my way around CVI again since using Labview for a while.