LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 100 occurs when trying to convert binary file to .wav

what's going on here?  I'm trying to read from a binary file I created in another vi using "write to binary file" with byte order=1. 
0 Kudos
Message 1 of 3
(2,396 Views)
....here's the block diagram to go with that, by the way.
0 Kudos
Message 2 of 3
(2,392 Views)
williamsz,

Do you know where the error is occuring?  I would guess when reading the data in with the Read Measurement File VI.  If that is the case then the error is probably due to the data being written with the Write to Binary File functions and reading with the Read Measurment File VI.  These actual explaination that goes along with this error is:

LabVIEW:  File contains erroneous data. Normally for user data files.

This would indicate that the data is formatted incorrectly.  I would read the data in with the Read from Binary File Function using the same data type as you wrote to resolve this error.  I would also recommend connecting the error clusters together in your program so that you can handle the errors that might occur. 

Hope this helps!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 3 of 3
(2,375 Views)