Controlling Thread Execution With TestStand

Updated May 3, 2018

Reported In

Software

  • TestStand

Issue Details

I have several Devices Under Test that I need test in the parallel batch mode, but I am limited by the available number of measurements devices to perform these tests in parallel. I need the threads to run simultaneously so that I can test as fast as possible.

Solution

While operating in the parallel batch model, use synchronization steps, such as lock steps, to prevent code from calling the instrument handles in more than one instance. Create code modules after the instrument modules to process the data for results and free the instruments to take the next measurement.

The number of threads that can be executed when testing from hardware will always be equal to the number of Devices Under Test (DUTs) / The number of simultaneous channels available on the hardware

WAS THIS ARTICLE HELPFUL?

Not Helpful