NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing SequenceContext to a Running VI

I have built a LabView application that programmatically loads and executes a TestStand sequence file.

I want to be able to use the "Test Stand - Get Property Value" and "Test Stand - Set Property Value" VIs from the TestStand palette during the sequence file's runtime. These two VIs require a SequenceContext as input, however.

I know the SequenceContext can be passed to a VI by a test sequence by passing it in as a parameter. Unfortunately I'm working backwards here; LabView is instantiating TestStand - not the other way around. Is there a way to return a SequenceContext from a running test sequence?

 

I have fiddled with TS.IEngine.NewEditContext and haven't had much luck.

Thank you in advance for any help,

-Chris

0 Kudos
Message 1 of 2
(654 Views)

If your LV application is a kind of TS UI, that creates the Engine, loads sequence and executes, then you should not be using the Sequence Context for communication between TS UI and running sequence. You should be using UI Messages instead.

 

Please refer this article - https://www.ni.com/en-us/support/documentation/supplemental/08/teststand-user-interface-development-...

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 2
(647 Views)