User | Kudos |
---|---|
11 | |
11 | |
3 | |
3 | |
2 |
Use case:
I have multiple (sub)vi's open or in memory with "Retain Wire Values" enabled, because I don't know in advance which wires I need to probe.
Initial State:
If I probe any wire now, they will all show "Not Executed".
First Execution:
After I have run my code, these (sub)vi's will show their values as promised and the parts of the code that have not been executed will display "Not Executed".
Now I have learned from my first execution and I made some changes in my code.
Second Execution:
If I would run for the second time now, I'll expect that my code will behave differently. This can mean that some code that did run in the First Execution did not run in the Second Execution and therefore would retain the wire values from the first run. In such a case I am not able to tell if a wire value is from the Second Run or from a First Run and actually "Not Executed" in the Second Run.
Normally, I will Disable and then Enable the "Retain Wire Values" option to clear the wire values, but this can be quite a hustle if you have a lot of vi's with this function enabled.
My wish:
I would like to have some kind of "Clear all retained wires" button or something that put all my vi's in memory with "Retain Wire Values" enabled in the Inital State, so they will all show "Not Executed" when probed.
This seems a simple and effective solution to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.