LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

restore data from a VI which is already stopped

Another question:
For my work I have made an acquisition program. On the frontpanel a button is placed, which controls whether or not to save the data to a file.
When this control is set to "no", the data will only be displayed in a graph of array table.
Sometimes, the users forget to put this control to "yes", resulting in having the data only on the screen, not in a file.
 
How could I recover this data from the previous execution of the VI?
 
0 Kudos
Message 1 of 2
(2,257 Views)
Stop the program and go to the diagram and right-click on the terminal of the desired indicator. Select "create constant". The diagram constant will have all the data. Just wire it to your file write function in a small VI and run it to save your data.
0 Kudos
Message 2 of 2
(2,249 Views)