LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NO EOF in Labview 8.0?

Hey All:
 
I read some earlier discussions on the use of an End Of File (EOF) function from the functions pallette. I am using LV 8.0 and I cannot for the life of me find an EOF Function in the 'advanced file functions' pallette.
 
Has it been eliminated or replaced in LV 8.0?
 
Thanks in advance!
 
Phil
0 Kudos
Message 1 of 4
(2,790 Views)

Hi Phil,

Page 14 of the LabVIEW Upgrade Notes ([labview]\manuals\LV_Upgrade_Notes.pdf) says "In LabVIEW 8.0, the EOF function is not on the Functions palette. Use the Get File Size and Set File Size functions instead."

Hope this helps,
-D

Message 2 of 4
(2,784 Views)

Agree, i thought that was missing.  Use the Get File Size before entering the while loop.  Read ths file and get position as you are reading it.  If Position >= Size then break the loop.  If you need an example let me know.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Message 3 of 4
(2,781 Views)

Thanks Guys!

I thought perhaps I had lost all of my mind for a minute.

I will try the file size functions to see how that works out.

I wonder if there is reference to using them in the help file......Hmmmmmm!

Thanks again!

Phil 

0 Kudos
Message 4 of 4
(2,771 Views)