LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save string/numeric value

Solved!
Go to solution

Hello!
How can i do for save a value of a variable so i can use it in future? I have an output string from a case structure moved by an OK botton. I want to save the string value when i press the ok botton...
Thanks in advance
GM

0 Kudos
Message 1 of 4
(3,608 Views)
Solution
Accepted by gmazza

Just write the string to a text file.  When you want to use it later, read the text file.



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 4
(3,591 Views)

If you only need local use, save it in a shift register in your main process loop or just as a wire to the new use location.  Run the shift register wire through both cases of the case structure.  Replace its value in the button pushed case.

Message 3 of 4
(3,572 Views)

You can use the Configuration File VIs. Take a look at the Help file and at the examples for these VIs.

 

Ben64

Message 4 of 4
(3,558 Views)