Single Pass - Test Socket Entry Point in the Batch Process Model

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

The Single Pass – Test Socket Entry Point is the Execution entry point sequence the test socket executions run. The controlling execution creates the test socket executions in the Single Pass Execution entry point sequence.

Open <TestStand>\Components\Models\TestStandModels\BatchModel.seq in the TestStand Sequence Editor and select the Single Pass - Test Socket Entry Point sequence on the Sequences pane to examine the Batch process model Single Pass - Test Socket Entry Point Execution entry point, which performs the following significant actions:

  1. Calls the Initialize Execution Entry Point plug-in utility sequence.
  2. Calls the SyncWithController method to synchronize with the controlling execution at the Initialize synchronization point. The method waits until the controlling execution allows the test socket to continue past the Initialize synchronization point.
  3. Calls the Model Plugins – Begin sequence.
  4. Calls the PreUUTLoop callback.
  5. Calls the SyncWithController method to synchronize with the controlling execution at the GetUUTSerialNumber synchronization point. The method waits until the controlling execution allows the test socket to continue past the GetUUTSerialNumber synchronization point. When no more UUTs exist, skips to step 20.
  6. Calls the PreUUT callback. When no more UUTs exist, skips to step 20.
  7. Calls the Model Plugins – Pre UUT sequence. When no more UUTs exist, skips to step 20.
  8. Calls the Model Plugins – UUT Start sequence.
  9. Calls the SyncWithController method to synchronize with the controlling execution at the ReadyToRun synchronization point. The method waits until the controlling execution allows the test socket to continue past the ReadyToRun synchronization point.
  10. Calls the PreMainSequence callback.
  11. Calls the MainSequence callback.
  12. Calls the PostMainSequence callback.
  13. Removes the test socket thread from the batch specification in case the MainSequence terminates or the client sequence file does not properly handle batch synchronization. The controlling execution adds the thread to back to the batch specification before continuing past the next synchronization point.
  14. Calls the SyncWithController method to synchronize with the controlling execution at the PostMainSequence synchronization point. The method waits until the controlling execution allows the test socket to continue past the PostMainSequence synchronization point.
  15. Calls the Model Plugins – UUT Done sequence.
  16. Calls the Model Plugins – Post UUT sequence.
  17. Calls the SyncWithController method to synchronize with the controlling execution at the ReAddToBatch synchronization point. The method waits until the controlling execution allows the test socket to continue past the ReAddToBatch synchronization point.
  18. Calls the PostUUT callback.
  19. Calls the SyncWithController method to synchronize with the controlling execution at the AfterPostUUT synchronization point.
  20. Calls the PostUUTLoop callback. Performs any cleanup operations related to initialization operations performed in the PreUUT callback here when the process model skips steps 7 through 19.
  21. Calls the Model Plugins – End sequence. Custom process model plug-ins should perform any cleanup operations related to initialization operations performed in the Model Plugin – PreUUT entry point here when the process model skips steps 8 through 19.

WAS THIS ARTICLE HELPFUL?

Not Helpful