LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Iam unable to read HEX values from xls file

Hi all,
please go through the attachment. The programme will read the data from xls file and everysecond it will be updated. if you observe the DISCRETE column in profile1.xls , it contains FF hex data, but when i run the programme the corresponding A9 will be showning 0 instead of FF , WHY?????/
If i replaced FF with decimal data then corresponding A9( see front panel) will be updated the decimal value.why i couldnt be able to read hex values from xls file.


Thanks in advance
RAJESH
0 Kudos
Message 1 of 3
(2,696 Views)
The function "read from spreadsheet file" assumes all fields be formatted as floating point (%f). You should probably read the entire file as raw string then parse it yourself, each column with the appropriate format.
0 Kudos
Message 2 of 3
(2,688 Views)
Hi
I have read the whole file as string , but my programme runs slow if i go by the string method.is there any way to
read the hex value from a xls file.

rajesh
0 Kudos
Message 3 of 3
(2,668 Views)