LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

changing decimal separator after data acquisition

Hi

I am developping a program that has acquires data and communicates it to a remote location.

The problem is that i need the data values to use a period as a decimal separator and not a comma, that is what i always get.

I added some pictures for better comprehension of my problem.

In the AQ block i have the sub-vi that acquires the data from my acquisition board.

In my block diagram, i try to store all the samples in a sigle array, sepatated by the ^ character and being formated as float.

Can anybody tell me how to format the samples using periods and not commas?

Thanks in advance

Note: I can't format the data as integers, because that would flaw the program's purpose.


Download All
0 Kudos
Message 1 of 3
(2,544 Views)
The format string "%.;%f" will force using periods.

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 3
(2,536 Views)
Thanks a lot.

It was really simple, but i thought the decimal sepatator formatting only worked with the "Format Into String" VI. Guess i was wrong. My bad.


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