09-15-2010 10:32 AM
Hello,
I am automating some tasks using Labiew to modify data in a Teststand sequence file. How can I programatically modify the value of a Sequence Global from labview ?
Thanks,
Sam
09-16-2010 06:27 PM
This should do it:
Note the method name will have to change based on the type of global you want to modify.
09-21-2010 09:54 AM
Hello,
How would I be able to get a sequence context that references the sequence file that I am trying to edit. I tried converting the sequence file ref to sequence context but that didn't work.
Thanks,
Sam
09-21-2010 11:37 AM
You have to pass in the TestStand variable RunState.ThisContext to the vi through the connector pane. I'm not sure about the exact variable name because I don't have TestStand loaded at this time. But there is a variable for the sequence context in TestStand and this has to be passed to the vi. Note that you cannot run the vi stand alone. You must run it from TestStand in order to get the proper sequence context.
09-22-2010 09:33 AM
This will not work because I am using only Labview. I run my VI as a standalone VI.
Thanks,
Sam
09-22-2010 11:59 AM
You cannot get a sequence context where none exists. Without running TestStand, there is no sequence context. What you are wanting to do is impossible.