ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Spreadsheet function format problems

Solved!
Go to solution

Hi everyone!
I'm having an issue with the "Spreadsheet String to Array" function in LabVIEW. The input is a text file containing IMU data, but the output values are not in the floating-point format I expected.
Could someone help me figure out what I'm doing wrong? Thanks in advance!

0 Kudos
Message 1 of 3
(765 Views)
Solution
Accepted by dstoyanov5

H dstoyanov,

 


@dstoyanov5 wrote:

but the output values are not in the floating-point format I expected.


Because your computer is set to use a comma as decimal separator, but the file is using a point instead!

 

Read the help for those format codes to adjust the format string as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(746 Views)
Solution
Accepted by dstoyanov5

Set the Format Specifier to %.;%f to force it to use decimal point.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 3 of 3
(735 Views)