LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write hex number string with some MSB padded with "0" to csv file

Hi,

 

I am trying to write some hex value string to csv file, this value need to preserve the MSB "0" values.

For example, 

 

Hex value = 00FF00

 

if I save this value using Labview "Write to Spreadsheet file VI",

I will loose the two prefix "00", it becomes FF00 in the csv file.

 

Can any show me how I can save this as "00FF00"

 

Thanks

 

Do

0 Kudos
Message 1 of 2
(2,500 Views)
They are already formatted, so you should go upstream where the formatting occurs. There use %06x as format. Can you show us the rest of your code?
0 Kudos
Message 2 of 2
(2,496 Views)