LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data read with four digits past decimal point, change to two?

I'm reading from an FP-AI-100 with LabView. Reads eight channels, takes the raw data x100, builds an array, then changes array to spreadsheet string, then writes to a file. The data has a precision of 4 digits after the decimal, xx.xxxx. What can I use to format this data for less digits after decimal?
0 Kudos
Message 1 of 2
(2,600 Views)
Drew, use the 'Number to Fractional String' vi which allows you to set precision to '2' (or any number you chose). Also note, you could multiply your whole array by 100 vs. each element - for efficiency purposes. See attached LV6 example.
Hope this gets you closer, Doug
Message 2 of 2
(2,600 Views)