11-13-2017 07:56 AM
Is there a way, via the TS API to check if a specific sequence file is currently executing given the two conditions:
11-14-2017
06:51 PM
- last edited on
10-20-2024
02:28 PM
by
Content Cleaner
Hi Blackburnite,
I don't have the answer to your question but if it's not dependent on the Sequence Editor process then it should be an API call on the TS Engine. Maybe here you can get more luck: https://www.ni.com/docs/en-US/bundle/teststand/page/writing-app-teststand-engine-api.html
11-14-2017
08:03 PM
- last edited on
10-20-2024
02:29 PM
by
Content Cleaner
11-15-2017 12:39 PM
That's what I initially tried but it appeared to be using a different instance of the teststand engine object that was created.
I think what I'm really looking for is a way to access a teststand engine object that already exists, which I can then use to call that method.
11-15-2017 01:41 PM
If you want to access TestStand objects from a process they weren't made in, you can use a remote synchronization object (one named with a *). These objects will live in a separate process and are accessed through DCOM.
In this specific sequence file you could create and set such a notification, then from a separate LabVIEW app, check this notification by name to see if it has been set. If relying on the name and the status of the notification isn't good enough, you could also store a reference to the SequenceFile object in the 'Data Value' of the notification, and then check the .isExecuting property of that remote object from the other process.
Hope this helps!
Trent