LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 8.2 Read Binary File, no pos offset option anymore?!

I have a VI that worked perfectly well in 7.1 and now I've opened it in 8.2 it doesn't work and I can't revert back to 7.1 because I accidently pressed save.

In 7.1 I used the combination of open, read and close file functions to read parts of a large binary data file - I cannot read the whole file into Labview 8.2 as it fills the memory. There isn't a terminal in the 'read binary file' function in 8.2 for 'pos offset' which is what I used to use in 7.1. How am I supposed to open the file now? Surely they have not removed such a useful facility entirely - is there another way to do it that I am not aware of?

Many thanks in advance for help,

Sarah
0 Kudos
Message 1 of 6
(3,615 Views)
Use the Set File Position function in the File I/O -> Advanced File Functions palette.
0 Kudos
Message 2 of 6
(3,602 Views)
Excellent - thanks.
0 Kudos
Message 3 of 6
(3,599 Views)
Strange, I have seen multiple changes of file I/O code from LV7.1 to 8.x and in all cases LV added the set file position to the read function, although it did it in a way not conforming to any style guide. The function was placed below the read function. It can be found by moving the read function.
Regards,
André (CLA, CLED)
0 Kudos
Message 4 of 6
(3,564 Views)
André, at first I could not understand your response, then I realized that I'm pretty sure you're referring to what happens when you open a 7.1 VI in 8.x. Yes, if the code was using File I/O functions then the code will be changed, mostly due to functionality being split apart, or some monolithic VIs no longer existing. True, the physical placement of the icons on the block diagram leaves a bit to be desired.
0 Kudos
Message 5 of 6
(3,545 Views)


@smercurio_fc wrote:
André, at first I could not understand your response, ...


Must be my Dutch way of writing English Smiley Wink
Regards,
André (CLA, CLED)
0 Kudos
Message 6 of 6
(3,543 Views)