LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving datas after reading them from a text file

Hello,

I am trying to read a table of 2 numeric values from a text file, and then use them in all my program process, so i need these datas stored all the time.

I've created a case loop, when i press on the bouton (FROM FILE) i get access to the true case.. i can read the datas (the Table)
but when the button is released (False Condition) the Case switch to her False and Default Value.. so i my table is reinitialisated to 0, and i loose my datas,

Can somebody help?
Thanks in Advance.

~~~~~~~~~~~~~~~~~~Looking for a LABVIEW JOB (In EUROPE)>~~~~~~~~~~~~~~~~~~


**The Best Way To Predict**The**Future Is To Invent It**

Salimos - View my most interesting photos on Flickriver
0 Kudos
Message 1 of 2
(2,444 Views)
Hi salim_mjs,
right click on your while loop and select "add shift register". Smiley Happy There you can store your data. In the true case connect the read values to the shift register and in the false case the "old" values from the shift register.
 
 
Mike


Message Edited by MikeS81 on 06-05-2008 03:50 PM
Message 2 of 2
(2,443 Views)