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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to find value?

Solved!
Go to solution
How to calculate the value of 2.50E+2 in Scan from String function when %f format string is selected?
0 Kudos
Message 1 of 7
(3,070 Views)
Solution
Accepted by kanye
maybe make the format sting a control
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 2 of 7
(3,064 Views)

Hi kanye.

 

what do you want to "calculate" using a string function???

sfs.png This yields exactly 250 as expected Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 7
(3,062 Views)

Hi Gerd,

Thanks for the reply!

How do we get a output of 250 if I try to solve without the software?

 

0 Kudos
Message 4 of 7
(3,031 Views)
What do you mean by "try to solve"?  Nothing is being solved.  It is taking your string and converting it to a number.
0 Kudos
Message 5 of 7
(3,025 Views)

There's nothing to solve, 'E' = "10 raised to" (or rather the Exponential)

 

So 2.5E2 = 2,5*10^2 = 250

 

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 7
(3,006 Views)

No need to run labview code.

 

exp1.PNG

 

exp2.PNG

 

It will automatically show you 250!!!

Message 7 of 7
(2,992 Views)