LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read from HEX file error....expecting D(hex) but output A(hex)

Perhaps the scope is doing an internal conversion of 0A to 0D?Smiley Wink

The question still needs to be answered, what is the source of this data?  What program or hardware is creating this data file?

Message Edited by Ravens Fan on 10-01-2007 01:55 PM

0 Kudos
Message 11 of 15
(743 Views)
I used the binary file read, and displayed to a string hex displayed.  It shows exactly what your hex editor shows.


Message Edited by Stradis on 10-01-2007 01:56 PM


Paul
Message 12 of 15
(742 Views)
Right click the Read From Text File node and uncheck "Convert EOL." This is on by default and converts end-of-line characters to the platform specific equivalent.
Message 13 of 15
(733 Views)
Good call Mark.  Doing that I see 7 0A's and 42 0D's.
 
The fact that there are supposed to be 0A's and 0D's in the file wasn't clearly stated in the other posts.  When I did my examination, I saw the first 0A and investigated it directly from the text file without using Labview and found it was truly a 0A.  Thus a "where is the problem?"
0 Kudos
Message 14 of 15
(725 Views)

Thanks alot stradis,

That helped out my problem.

In the future I will use the read from binary file to extract hex data.

FredFred

0 Kudos
Message 15 of 15
(719 Views)