LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read from binary file

Hi,

 

I'm updating an old program written by someone who used to work in our lab. The old one was programed by LabView 7.X. Since we are using LabView 2009, we'd like to update it by replacing alll the old VIs.

So, I've almost finished it except "read from binary file". As you can see from the diagram below, 1 is to get a offset from the binary file to read data (I16) only but not the header (according to the comments by the previous programmer) and 2 is to read the file.

 

Problem: the new VI (read from binary) does not take an offset as its input, so I cannot take into account the offset. Since the binary file has a header which contain all the experimental informations and settings, I think I should specifiy the offset. 

 

Any suggestions or ideas?

 

Best,

Jay 

0 Kudos
Message 1 of 3
(2,243 Views)
You can use the "Set File Position" VI under Advanced File Functions.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 3
(2,242 Views)
Hello, were you able to get it working with the set file position VI?
National Instruments
0 Kudos
Message 3 of 3
(2,207 Views)