LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programatically modify a teststand sequence global in Labview ?

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

0 Kudos
Message 1 of 6
(3,383 Views)

This should do it:

 

Note the method name will have to change based on the type of global you want to modify.

24148iC681608BBF847030

Eric S.
AE Specialist | Global Support
National Instruments
0 Kudos
Message 2 of 6
(3,358 Views)

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

0 Kudos
Message 3 of 6
(3,326 Views)

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.

- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 6
(3,319 Views)

This will not work because I am using only Labview. I run my VI as a standalone VI.

 

Thanks,

Sam

0 Kudos
Message 5 of 6
(3,302 Views)

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.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 6 of 6
(3,284 Views)