01-21-2010 04:49 PM
I have a sequence with a VI that contains a local variable array. Now I need that data saved for use by a VI in a later sequence. Can locals be converted to globals or must it be re-created and all references to it changed?
Thanks,
jvh
01-22-2010 03:08 AM
Hi,
If you are using the SequenceContext as the reference, then your lookup string to your variable would need to change.
eg "Locals.MyArray" would become "StationGlobals.MyArray"
Does this help
Regards
Ray Farmer
01-22-2010 09:20 AM
jvh -
If this variable is to be used in a later sequence during the same execution, you may want to consider passing it to and from sequences as a parameter.
Hope this helps.
01-22-2010 01:54 PM
01-22-2010 01:56 PM
01-22-2010 04:09 PM
jvh -
Sequence Parameters can be passed by reference such that changes made in the sub-sequence are reflected in the properties that were passed in from the calling sequence.
Unfortunately, TestStand does not update instances where your variable is used automatically, however, you could potentially write a tool to do this for you.