- Open the Computer Motherboard Test shipping example from <TestStand Public>\ Examples\Demos\Computer Motherboard Test\LabVIEW\Computer Motherboard Test Sequence.seq. This shipping example shows a Computer Motherboard Test that includes simulated NI LabVIEW code modules for testing a computer’s power supply, CPU, ROM, RAM, video, and keyboard.
The sequence file will open and a dialog box will pop up. Click OK.
- Select Configure>>Results Processing… from the pull-down menu.
The Results Processing dialog box appears. The Results Processing dialog box is where you can enable or disable logging to a report, database, or offline file. Note that the ATML report output is enabled by default.
- Check the Enabled box for the Database output to enable default database logging. Click OK.
- Select Execute>>Single Pass from the pull-down menu to run the sequence file.
If you are using the Computer Motherboard Test example, a Motherboard Test Simulator dialog box will appear. This gives an operator the ability to simulate failing test outputs from several components.
For this example, check the Video and RAM options to simulate a failed unit under test (UUT). Click OK.
Once the sequence has executed, a full set of data is logged to the database for one UUT. At the conclusion of the sequence, NI TestStand shows the ATML report, which was enabled by default in the Result Processing dialog box.
- Select Configure>>Results Processing… from the pull-down menu to see the results logged to the database.
- Click on the Options… icon to the right of the Database Output.
The Database Options dialog box appears. The
Database Options dialog box is where you can customize the logging of results to a database, such as on-the-fly logging, database schemas, table statements, and table organization.
In the Data Link Options section, you can select the type of database that will be used to store the data. For this tutorial, keep the Database Management System as Access.
- Select View Data to launch the Database Viewer tool.
The Database Viewer application appears. The Database Viewer allows you to view data in a database, edit table information, and execute SQL commands.
- Expand the Default configuration tree options to display the tables that make up this database scheme.
- To view the logged data from the execution that was run, right-click on UUT_RESULT and select View Data.
The Results window displays the logged results for UUT_RESULT. You can enable different views to visualize the data. Grid View and Card View are shown below.
- Right-click on the STEP_RESULT table and select View Data to view the data for each step. In this case, you can find the failing results for the RAM and Video Tests and Diagnostics steps.