Single Pass Execution 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 Execution entry point is the sequence the controlling execution runs.

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

  1. Calls the Initialize Execution Entry Point plug-in utility sequence.
  2. Calls the Initialize ModelData sequence.
  3. Calls the Model Plugins – Begin sequence.
  4. Calls the ProcessSetup callback.
  5. Calls the PreBatchLoop callback.
  6. Creates and initializes the test socket executions.
  7. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the Initialize synchronization point.
  8. Calls the Add TestSocket Threads to Batch utility sequence.
  9. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the Initialize synchronization point.
  10. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the GetUUTSerialNumber synchronization point.
  11. Calls the PreBatch callback.
  12. Calls the Model Plugins – Pre Batch sequence.
  13. When no more UUTs exist, sets the ContinueTesting test socket data variable to False for all the test sockets and marks all test sockets as enabled to allow currently disabled test sockets to complete execution.
  14. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the GetUUTSerialNumber synchronization point. If no more UUTs exist, skips to step 28.
  15. Calls the Model Plugins – Batch Start sequence.
  16. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the ReadyToRun synchronization point.
  17. Calls the Tile Execution Windows utility sequence.
  18. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the ReadyToRun synchronization point.
  19. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the PostMainSequence synchronization point. The test sockets do not block at this synchronization point.
  20. Calls the Model Plugins – Batch Done sequence
  21. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the ReAddToBatch synchronization point.
  22. Calls the Add TestSocket Threads to Batch utility sequence to add test socket execution threads back to the batch specification.
  23. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the ReAddToBatch synchronization point.
  24. Calls the WaitForTestSockets utility method to wait for and monitor test socket executions until the test sockets reach the AfterPostUUT synchronization point.
  25. Calls the Model Plugins – Post Batch sequence.
  26. Calls the PostBatch callback.
  27. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the AfterPostUUT synchronization point.
  28. Calls the WaitAndCheckExecutionStateForAllTestSockets method to determine the first UUT error, if one occurred, and whether any UUTs terminated or aborted. Waits for all test socket executions to complete.
  29. Calls the PostBatchLoop callback. Performs any cleanup operations related to initialization operations performed in the PreBatch callback here or in the ProcessCleanup callback when the process model skips steps 15 through 27.
  30. Calls the ProcessCleanup callback.
  31. 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 – PreBatch entry point here when the process model skips steps 15 through 27.

WAS THIS ARTICLE HELPFUL?

Not Helpful