02-22-2022 03:00 PM
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
02-22-2022 03:38 PM
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-...