Preparing Test Sequences for SystemLink Usage
- Updated2023-08-17
- 3 minute(s) read
Preparing Test Sequences for SystemLink Usage
Select example sequences or create a new sequence file and new sequences for SystemLink usage.
Selecting Example Sequences
Select example sequences for SystemLink usage, in the C:\Users\Public\Documents\National Instruments\Audio and Acoustics\Examples\TestStand 2019 (64-bit)\Seq_with Systemlink directory, based on your DUT type and measurements.
Creating a New Sequence File and New Sequences
If the example sequences do not meet your test needs, complete the following steps to create a new sequence file and new sequences for SystemLink usage.
- Create a new sequence file in TestStand Sequence Editor.
-
Set the process model that the sequence file uses to the Batch model to create
individual reports for multiple DUTs in parallel.
- Select to launch the Properties dialog box.
- Click the General tab and select All Executions Share the Same File Globals in the Sequence File Globals drop-down list.
- Click the Advanced tab and select Require Specific Model in the Model Option drop-down list.
- Select BatchModel.seq in the Model File drop-down list.
-
Create callback sequences in the sequence file.
MainSequence is automatically created along with the sequence file.
- Select or right-click in the Sequences pane and then select Sequence File Callbacks to launch the Callbacks dialog box.
-
In the Callback Name column, select
ProcessSetup and click
Add. Alternatively, double-click
ProcessSetup.
In the Present column, no becomes yes for the ProcessSetup callback sequence.
- Repeat step b to add the PreBatch and ProcessCleanup callback sequences.
- Use variables of the FileGlobals type for callback sequences, which allows each callback sequence to access these global variables.
The Sequences pane lists all the sequences in the sequence file, as the following figure shows.Figure 11. Sequences Pane 
-
Complete the following tasks to add steps and variables to MainSequence.
- In the Setup step group, leave it blank.
- In the Main step group, add steps that create report files and write report data. Set the type of steps that write report data to Pass/Fail Test.
- In the Main step group, add the Upload File step by selecting on the Insertion Palette pane to upload the test result data to SystemLink Server. Add more steps in the Main step group based on test requirements and example sequences.
- In the Cleanup step group, leave it blank.
- Use local variables, such as serial number, test socket index, and report file name, to share data among steps of MainSequence. Refer to example sequences for more local variables.
-
Complete the following tasks to add steps to callback sequences based on test
requirements and example sequences.
- Add steps for setup, configuration, and initialization in the Main step group in the ProcessSetup callback sequence.
- Add steps that play, record, and analyze data in the Main step group in the PreBatch callback sequence.
- Add steps that clean tasks in the Main step group in the ProcessCleanup callback sequence.