LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the "Write to Spreadsheet" VI and Significant Digits

I have a somewhat simple VI that I am using to read data from a stick of RAM that I'm using. This data is displayed in a 2D array, which displays data correctly. The data is comprised of 2 8-bit hex numbers. On the block diagram for this VI, I have the wire feeding the array block also feed a "write to spreadsheet file" VI. Unfortunately, when I try to write to a spreadsheet, the data in the spreadsheet is truncated to 6 significant digits. I have attempted to use the format modifier "%_8x", but this does not fix the problem. All 8 bits are being displayed correctly on the array in the VI, so why are all 8-bits not being written to the spreadsheet file correctly?

Any help would be greatly appreciated. Feel free to contact via phone if necessary.

Thank you!
Toney Jacobson
925-294-6080
0 Kudos
Message 1 of 3
(2,633 Views)
Hello,

The write to spreaadsheet file vi that comes with LabVIEW has the inputs defined as arrays of sgl, maybe this is your problem.

Try the annex vi with those changed to dbl.

Hope this helps,
Paulo
0 Kudos
Message 2 of 3
(2,630 Views)
Paulo -

THANK YOU VERY MUCH. That was the trick... I didn't even really stop the think that the data size was being limited by the VI. I really appreciate it.

Toney
0 Kudos
Message 3 of 3
(2,627 Views)