04-25-2006 04:28 PM
04-25-2006 05:17 PM
The locals you see at runtime are a copy of the default locals in the file. Each instance of a running sequence needs its own copy of the locals because their values can vary in different running instances of the same sequence.
The edit time definition of the sequence local variables has a property path such as:
RunState.SequenceFile.Data.Seq["MainSequence"].Locals
If you modify these locals and you want the file to be marked as modified so that the user is prompted to save, then you should also call:
RunState.SequenceFile.AsPropertyObjectFile().IncChangeCount()
Note that changing the edit time locals only affects new executions. You might need to modify both the edit time and runtime locals depending on what you are trying to accomplish.
04-25-2006 06:16 PM
James,
I tried this in my code and it did not work for me. Could you provide me with a LabView example?
Thank you,
Robert
04-26-2006 09:42 AM
04-26-2006 10:41 AM
04-26-2006 11:13 AM
04-26-2006 11:14 AM
04-26-2006 11:49 AM
Thank you very much. This works very well.
Respectfully,
Robert