LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Format Specifier

Hello,
 
I record the data of my experiment using Write to Spreadsheetfile. In past experiments, I made a mistake in the format specifier i.e. I wrote: %3.6f (which means width = 3 and 6 digits of precision which is wrong).
I should have written %6.3f. But when I open the recorded Spreadsheetfile with Notepad (for instance), It seems that Labview recorded the data correctly.
 
Can I trust these data ? If yes, why ?
 
When I use Read from Spreadsheetfile using the wrong format specifier given above, it doesn't work which is understandable because I use the wrong format specifier bu why it looks like to work when I use Write. 
 
Thanks.
 
 
 
 
 
0 Kudos
Message 1 of 3
(2,797 Views)
Yes, the first number is a "minimum Field width", meaning it can grow if needed. It is NOT an absolute upper width limit.
 
Your numbers are probably OK.
Message 2 of 3
(2,791 Views)

Thanks a lot, I appreciate your help.

0 Kudos
Message 3 of 3
(2,784 Views)