Utility Sequences in the Batch Process Model

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

The Batch process model sequences call the plug-in utility sequences and the following utility sequences:

  • Restart TestSocket—The ProcessDialogRequests sequence calls the Restart TestSocket sequence to restart the execution for the test socket the request specifies.
  • Initialize TestSocket—The controlling execution calls the Initialize TestSocket sequence to initialize the data for and create the test socket executions.
  • Tile Execution Windows—The controlling execution calls the Tile Execution Windows sequence to tile the test socket Execution windows by building a list of executions and posting a UIMessage to the user interface that requests window tiling. The Tile Execution Windows sequence tiles only running, non-disabled test socket executions.
  • Add TestSocket Threads to Batch—The Test UUTs and Single Pass Execution entry points call the Add TestSocket Threads to Batch sequence from the controlling execution to add the main threads of the test socket executions to a Batch Synchronization object. The threads remove themselves from the batch in the Test UUTs - Test Socket Entry Point and the Single Pass - Test Socket Entry Point sequences after running the Main sequence of the client sequence file to clean up the state of the batch in case the sequence terminates or the client sequence file did not properly handle batch synchronization.
  • ProcessDialogRequests—The controlling execution calls the ProcessDialogRequests sequence from the Test UUTs Execution entry point sequence after displaying the Batch UUT Information dialog box, which enqueues requests for sequence names into the ModelData.DialogRequestQueue parameter. The ProcessDialogRequests sequence loops while waiting for those requests. When the ProcessDialogRequests sequence receives a request, it calls the requested sequence. Additionally, the ProcessDialogRequests sequence periodically calls the MonitorBatchThreads method of the ControllerAndSocketSynchronizationManager class to verify the state of and update the information for the test socket executions.
  • Run Batch Info Dialog—The controlling execution calls the Run Batch Info Dialog sequence from a new thread in the Test UUTs Execution entry point to initialize and run the dialog box in which users enter serial numbers and view the results for a particular run of the batch.
  • View TestSocket Report—The ProcessDialogRequests sequence calls this dialog box request callback to enable the View Report button in the UUT Information dialog box. Click the View Report button to launch a report viewer for the report file for the test socket the request specifies.
  • View TestSocket Report – Current Only—The ProcessDialogRequests sequence calls this dialog box request callback to enable the View Report button in the UUT Information dialog box. Click the View Report button to launch a report viewer for the last report generated for the test socket the request specifies. This sequence differs from the View TestSocket Report sequence because it shows only the last report instead of the whole report file.
  • View Batch Report—The ProcessDialogRequests sequence calls this dialog box request callback to enable the View Report button in the UUT Information dialog box. Click the View Report button to launch a report viewer for the batch report file.
  • View Batch Report – Current Only—The ProcessDialogRequests sequence calls this dialog box request callback to enable the View Report button in the UUT Information dialog box. Click the View Report button to launch a report viewer for the last batch report generated. This sequence differs from the View Batch Report sequence in that it shows only the last report instead of the whole batch report file.

See Also

Batch Synchronization

Execution Windows

Hidden Execution Entry Points

Main Execution Entry Points

Model Callbacks

UUT Information dialog box (Batch)

WAS THIS ARTICLE HELPFUL?

Not Helpful