Test UUTs Execution Entry Point in the Batch Process Model

TestStand 2017 Help

Edition Date: November 2017

Part Number: 370052W-01

»View Product Info

Download Help (Windows Only)
NI TestStand 2014 Help
NI TestStand 2014 SP1 Help
TestStand 2016 Help
TestStand 2016 SP1 Help
TestStand 2017 Help

The Test UUTs main 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 Test UUTs sequence on the Sequences pane to examine the Batch process model Test UUTs 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 Run Batch Info Dialog utility sequence.
  8. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the Initialize synchronization point.
  9. Calls the Add TestSocket Threads to Batch utility sequence.
  10. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the Initialize synchronization point.
  11. Begins the Batch For loop.
  12. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the GetUUTSerialNumber synchronization point.
  13. Calls the PreBatch callback.
  14. Calls the Model Plugins – Pre Batch sequence.
  15. 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.
  16. Calls the Add TestSocket Threads to Batch utility sequence to add enabled test socket threads to the batch specification and remove disabled test sockets from the batch specification so they do not block running threads.
  17. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the GetUUTSerialNumber synchronization point. If no more UUTs exist, skips to step 33.
  18. Calls the Model Plugins – Batch Start sequence.
  19. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the ReadyToRun synchronization point.
  20. Calls the Tile Execution Windows utility sequence.
  21. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the ReadyToRun synchronization point.
  22. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets display the test socket reach the PostMainSequence synchronization point. The test sockets do not block at this synchronization point.
  23. Calls the Model Plugins – Batch Done sequence
  24. Calls the WaitForTestSockets method to wait for and monitor test socket executions until the test sockets reach the ReAddToBatch synchronization point.
  25. Calls the Add TestSocket Threads to Batch utility sequence to add test socket execution threads back to the batch specification.
  26. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the ReAddToBatch synchronization point.
  27. Calls the WaitForTestSockets utility method to wait for and monitor test socket executions until the test sockets reach the AfterPostUUT synchronization point.
  28. Calls the Model Plugins – Post Batch sequence
  29. Calls the PostBatch callback.
  30. Waits for the Status dialog box. When TestStand launches the PostBatch callback Status dialog box, the sequence waits for you to dismiss the dialog box if you have not already done so.
  31. Calls the AllowTestSocketsToContinue method to notify test sockets to continue past the AfterPostUUT synchronization point.
  32. Ends the Batch For loop, looping back to begin the next batch.
  33. 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.
  34. 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 18 through 32.
  35. Calls the ProcessCleanup callback.
  36. 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 18 through 32.

WAS THIS ARTICLE HELPFUL?

Not Helpful