06-04-2009 03:25 PM
I wrote a bit of code in LabVIEW 8.6 where I connected the 'EOF?' output of a Read From Measurement File to its 'Reopen File' input. This prevents an end-of-file error from occurring when the program runs. I need to re-implement the code in LabVIEW 7.1, but the Read LabVIEW Measurement File object does not have the 'Reopen File' input!
Does anyone know of a way around this problem? (Upgrading to LabVIEW 8.6 is not an option on this machine.)
06-05-2009 06:25 AM
Hi There,
Good Morning and I hope your well today.
I am a little unsure about your issue, mainly because my Express VI in LabVIEW 7.1 has an EOF output.
But basically, the VIs work this out by testing for the error code, and when you reach it, stop reading the file and clean up the error using custom error handling.
If you use an unbundle on an error cluster you get Status, Code and Description. Test code = to EOF error code, if true then replace the cluster with a default cluster (Status - False, String - blank, Code - 0).
I hope this makes sense,