How Can I Bracket a Step to Run Once per Batch in TestStand?

Updated Jan 15, 2018

Reported In

Software

  • TestStand

Issue Details

I am working with the Batch process model, BathModel.seq, and only need a Test step in my sequence to run one time per batch. How can I configure this in my sequence file? 

Solution

  • Use Batch Synchronization to configure a step to execute once per thread. This can be done by selecting the step you want to bracket and under Step Settings >> Properties >> Batch Synchronization >> One Thread Only (first thread executes step, remaining threads skip).
  • Use a Lock step to ensure that only one thread can access a particular resource or data item at a time.

WAS THIS ARTICLE HELPFUL?

Not Helpful