Hello everyone. I need advice from all you TestStand gurus out there.
I Need to run two things in parallel:
1. Polling Sequence: I need to poll devices in a product continuously. This poll just pings each device to make sure it is able to communicate with it. If a device does not get pinged within 5 seconds the device FW will shutdown the device. It is crucial that I continuously poll these devices to keep the product up and running.
2. Main Test Sequence: I also need to run a sequence to run test steps on this product.
My issue:
At certain steps in the "Main Test Sequence" I will need to tell the "Polling Sequence" (Polling Loop) to shut down so that I can free up the communication to send test commands on a device within the product.
I've done a bit of research on this issue. One way I believe to do this is from my "Main Test Sequence" I could create a "Sequence Call - New Thread" step. I could call this thread at the beginning of my "Main Test Sequence" to start it and if I come across a step in my "Main Test Sequence" that needs to access one of the devices in the product I could set a global variable step that the "Polling Sequence" would see so that it would stop or start based on this variable.
I am newer to TestStand and am looking for the most efficient way to do this. What do you guys and gals think is the most efficient way to do this?
Thanks!