From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Fieldpoint Read - Significant Figures

I would like to know if it is possible to adjust the number of significant figures when reading an analog channel from compact fieldpoint.  ie.  channel reads  0.003973554654  I want to read only 0.00397
0 Kudos
Message 1 of 5
(6,485 Views)
Where do you send this data value to?  If you send it to an indicator, then you can set the properties of the indicator to however many significant figures you want.
0 Kudos
Message 2 of 5
(6,477 Views)
I'm performing some computations on the value, then logging it to a text file.
0 Kudos
Message 3 of 5
(6,472 Views)
Use the format into String function from the String pallette.
 
For the format specifier use   %_3f  where the 3 represents 3 significant digits.
Message 4 of 5
(6,468 Views)
Thanks!
0 Kudos
Message 5 of 5
(6,466 Views)