06-29-2016 05:20 AM
Hello
I'm pretty new to LABVIEW.
When I run the VI multiple times it sometimes clears the output fields (such as an array or a string) and sometimes keeps results from previous runs.
How can I clear the variables between runs?
Thanks in advance
Yuri
Solved! Go to Solution.
06-29-2016 05:23 AM
06-29-2016 05:26 AM - edited 06-29-2016 05:27 AM
@iurik wrote:Hello
I'm pretty new to LABVIEW.
When I run the VI multiple times it sometimes clears the output fields (such as an array or a string) and sometimes keeps results from previous runs.
How can I clear the variables between runs?
Thanks in advance
Yuri
Multiple ways
1.You can initialize values before every run
2.you can use ReInitialize all to default (Invoke Node)
Its better to share code for clear understanding
06-29-2016 05:58 AM
thanks for your help,
the initialization of the variable did the trick