LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading hex using read from spreadsheet .vi

Hello All,
Here's my question. How can I read hex (FF) using the read from spreadsheet.vi. Every time I make an excel file and use it, I come up with an array of zeros. The reason I need this vi is because I need my data to be entered into an array for further processing.

Thanks
0 Kudos
Message 1 of 3
(2,409 Views)
This really all depends on the way you are saving the file in excel, If you are saving the file in the normal excel way .xls you will get zeros but if you save it as .txt you should not. Try saving your excel file as .txt and see what happens. also when using the read rom spreadsheet function you will also need to change the format specifier to x instead of f. Try these and see if they help.

If not post some code in LV 7.0 or screenshot of your code.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 3
(2,402 Views)
Have you tried to specify %x for the format input (top right)?
0 Kudos
Message 3 of 3
(2,400 Views)