Showing results for 
Search instead for 
Did you mean: 

Store the final result of indicator

I have generated a value let us consider as an indicator now when i run it for the next time the indicator shouldn't reinitialise to zero.Is there any possibility of doing so....

0 Kudos
Message 1 of 4

Save the value to a file.  When the VI runs again, have it read the file and write the value to a local variable of the indicator.

0 Kudos
Message 2 of 4

Get the value and store it in a file (for instance an ini file) when you close.

Read the value from the file when you start and set it.

0 Kudos
Message 3 of 4

If you don't need to close and reopen the VI (more specifically if it won't leave memory between executions) then you could also consider Uninitialized Shift Registers as a possibility. 


These are quicker and simpler to set up but are subject to the restrictions I mentioned - they will not retain values if the VI leaves memory.

0 Kudos
Message 4 of 4