Computer Motherboard Test Sequence - LabWindows/CVI
- Updated2025-07-23
- 2 minute(s) read
Purpose
This example simulates the testing of a computer motherboard using test steps that use the LabWindows/CVI Adapter.
Example File Location
<TestStand Public>\Examples\Demos\Computer Motherboard Test\CVI\Computer Motherboard Test Sequence.seq
Highlighted Features
- Flow Control step types
- Preconditions
- Sequence Call steps
- Test step types
Major API
None
Prerequisites
You must have the LabWindows/CVI Run-Time Engine installed and you must configure the LabWindows/CVI Adapter to execute steps in-process. If you want to use the Execute Steps in an External Instance of CVI option, you must have the LabWindows/CVI development environment installed.
Note In order to debug the example code module, you must first rebuild the source files in the debug configuration within LabWindows/CVI.
How to Use This Example
Complete the following steps to use this example.
- On the Steps pane of the MainSequence, review the steps in the Setup step group.
- The Simulation Dialog step calls a DLL that launches a dialog box to prompt you to select a test or tests you want to simulate to fail.
- The Turn Vacuum Table On step, which is an Action step, simulates the activation of a vacuum table. In the Cleanup step group, the Turn Vacuum Table Off step deactivates the vacuum table.
- On the Steps pane, review the steps in the Main step group.
- The Powerup Test step, which is a Pass/Fail Test step, simulates a power-up test, and the results of the step determine whether the following If/Else structure continues testing or executes the Powerup Diagnostics step.
- The CPU Test step, which is a Sequence Call step, calls the CPU Test subsequence to simulate CPU tests.
- The ROM Test, RAM Test, Video Test, and Keyboard Test steps simulate tests, and if any test fails, the following If structure executes.
- Each step in the If structure specifies a precondition expression that executes the step only when the corresponding test step fails.
- Select Execute»Single Pass to run the sequence.
- In the Test Simulator dialog box, select the Power On test to fail.
- When execution completes, review the report on the Report pane. The report indicates that the test steps after the Powerup Test step did not execute, but the Powerup Diagnostics step did execute.
- Select Execute»Restart to run the sequence again.
- In the Test Simulator dialog box, select any test other than the Power On test to fail.
- When execution completes, review the report. The report indicates that the Powerup Test step passes and TestStand ran the remaining tests, and that TestStand ran diagnostic steps for any failed test steps but skipped diagnostic steps for any passed test steps.