08-03-2012 09:26 AM
I will go for "Engine" instead of Context.
Building the container will not work in my case since i can read dynamically open sequence where i have to collect all subsequences/steps/input names/property names/values/etc so i need to have a reference to Engine to read it when I want.
08-03-2012 09:57 PM
11-10-2016 03:41 PM
I am facing the similar issue... I want to read the runtime Fileglobal values of the TestStand in LabVIEW.
FOr that i need the active sequence context which is pointing to the current sequence which is executing in teststand.
The VI which is shared above to get the sequence context , Can I use same to get the active sequence context so that I can access the Runtime values of the Variables?
11-14-2016 08:53 AM
Are you writing a UI? If so, you should probably get the file globals while the execution is paused waiting for a UIMessage to be handled such as at the UIMsg_StartExecution or UIMsg_StartFileExecution UIMessage. The UIMessage should have an execution subproperty which you can then use to call Execution.GetFileGlobals(). In the case of UIMsg_StartFileExecution you can get the file globals for that sequence file by getting the sequence file reference from the ActiveXData property of the UIMessage.
Hope this helps,
-Doug
11-18-2016 12:27 PM
I got the solution.
I am using UI messages now and I am getting this context reference from the thread subproperty now.