From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spreadsheet string to array notation

Solved!
Go to solution

Hi all,

 

I am using the spreadsheet string to array function and basically my problem is as follows:

 

My inputs are in scientific notation so I use this in string format. The data is separated with a ",". What I get is just the argument rounded.

 

As I just realized I didn´t make myself clear I´ve attached a photo of the problem. Notice that probe 4 is the input from which I want to build the array, and probe 5 is the output. I just have the 9 but what happens with the rest of the number?

 

PD: I´ve tried many formats but none of them seems to work.

 

Thank for your help

0 Kudos
Message 1 of 3
(2,703 Views)
Solution
Accepted by topic author rodriferfe

Your system is set up to use a comma (,) as the decimal point?  Try using "%.;%^.3e" for your format.  The "%.;" tells the scan to use the period as the decimal point.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(2,695 Views)

That´s brilliant, it works perfectly, thank you very much for your help!!!!

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