LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two questions....

I use LV5.1

-1- What can i set to realize a VI that when opened automatically goes
in run-continually mode??

-2- I have to transform a string '1,02' in an other string '1.02' but
i don't find a function for strings that does it.

Can you help me?? Thanks
0 Kudos
Message 1 of 3
(2,740 Views)
1- Use a While loop around your diagram, and configure your vi properties (right-click on the icon at the right top of the window to set : Show front panel when called (in "Window apparence/customize", and "Run when opened" (in "Execution")
2 - The answer was given in your last post :
use a "Search and Replace String" function (in the String sub-palette) and wire a "," ("search string" input) and a "." ("replace string" input)
Chilly Charly    (aka CC)
Message 2 of 3
(2,740 Views)
babypuffo@hotmail.com (SOLO) wrote in
news:5721924b.0409270132.642358f9@posting.google.com:

> I use LV5.1

> -2- I have to transform a string '1,02' in an other string '1.02' but
> i don't find a function for strings that does it.
>
> Can you help me?? Thanks

Not sure if this work for LV5.1 (Ot works for LV6)

The functions "Format Into String" and "Scan From String" have these
formatting possibilities:
"%,;" Use , as decimal seperator
"%.;" Use . as decimal seperator
"%;" Use system setting decimal seperator.

Eg, use "Scan From String" with "Format String"="%,;%.2f"
and send the outut to
"Format into String" with "Format string"="%.;%.2f"

--
Rolf
0 Kudos
Message 3 of 3
(2,740 Views)