LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Binary File Read

Hello everyone,

 

I am not that comfortable with binary file reading. I am trying to learn.

 

I have a vi which logs a sine wave in a binary file.

 

The Read vi which I have written is not giving the expected data.

 

Thanks in advance

cooldude 

Download All
0 Kudos
Message 1 of 6
(3,201 Views)
Can you attach it for lv 8.0? or post a screen shot of the vi?
0 Kudos
Message 2 of 6
(3,194 Views)
 
Download All
0 Kudos
Message 3 of 6
(3,192 Views)

Hi,

 

exactly what problem you are facing?

 

you can check shipping example by NI with keyword BINARY.

 

Regards,

 

Shrenik

0 Kudos
Message 4 of 6
(3,182 Views)
What is the data format you are getting in the first place? are you converting it into a binary format and storing it?
0 Kudos
Message 5 of 6
(3,179 Views)

cooldude wrote:
The Read vi which I have written is not giving the expected data.

Wire a False constant to the "prepend array or string size" input of the Write to Binary File function.

 

Also, the  "create" constant on the Log Data VI should be "replace or create".

Message 6 of 6
(3,159 Views)