07-06-2010 07:24 AM
Hi!
I embedded TS interace in my LV code and would like to programmatically tune some settings of TS (Report, ...). Usually in TS I use RunState reference to get and set specific properties. It looks like RunState ref is not available through TS API => Am I wrong ?
It also looks like SequenceContext could allow me getting/setting interesting prop. But how to get ThisContext or SequenceText whithin LV ?
Solved! Go to Solution.
07-06-2010 08:48 AM
I use SequenceContext to get everything that RunState provides in TestStand.
You can pass in the SequenceContext to a VI to access it's properties and methods. I would call a VI like this in your test sequence or process model.
Thanks,
PH
07-06-2010 09:25 AM
Dear Teds,
The problem I'm not using a VI in TS. I'm using TS in a VI... I'm controlling TS through its API and I'd like to programmatically change options before lauching a custom TS behavior contolled by my software.
07-09-2010 10:02 AM
Hi Zyl,
You can access the Sequence Context from the ExecutionViewManager control and a Property Node, then, use property and invoke methode nodes to get or set the settings you want.
Regards,
Olivier L. | Certified LabVIEW Developer