LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you write quad precision digit to "write to spreadsheet file.vi"

I have a program that is outputting 2 - 1D arrays that I need to output into one spreadsheet file. I have attempted to build arrays and output to "Write to Spreadsheet File.VI" with no success due to the limit of single digit precision. Any help as to writing quad precision digits (0.0004, 0.0008, etc.) to a spreadsheet would be very much appreciated. Thank you very much.
0 Kudos
Message 1 of 2
(2,299 Views)
Single precesion is fine for what you need. The problem you're having is that the default format specifier is %.3f so all you get is numbers to 3 significant places. Change it to %.4f for 4 or %.5f for 5 places. You just have to wire the format specifier to the input on the top of the VI. Right click on it and select Create>Constant and then type in what you want.
0 Kudos
Message 2 of 2
(2,297 Views)