Purpose

This example performs a benchmark on each of the TestStand adapters.

Example File Location

<TestStand Public>\Examples\TestStand Debugging Features\Benchmarks\Benchmarks.seq

Highlighted Features

  • Module adapters
  • Performance

Major API

None

Prerequisites

You must log into TestStand as a user with administrator privileges. To use the LabVIEW benchmark portion of the example, you must have the LabVIEW development system or LabVIEW Run-Time Engine (RTE) installed and you must configure the LabVIEW Adapter to use the LabVIEW development system or LabVIEW RTE.

How to Use This Example

This example runs multiple sets of steps. Each set uses a different adapter and configuration. As the sequence executes, it records the total time required to execute each set of steps. The sequence generates a custom report to display the average execution time for a single step in each set of steps.

You can adjust the following options to improve performance:

  • Disable the Enable Tracing option on the Execution tab of the Station Options dialog box.
  • Enable the Disable Result Recording for All Sequences option on the Execution tab of the Station Options dialog box.
  • To improve the performance of the ActiveX/COM Adapter, disable the Use Late Binding option in the ActiveX/COM Adapter Configuration dialog box.
  • To improve the performance of the LabVIEW Adapter, enable the Reserve Loaded VIs for Execution option in the LabVIEW Adapter Configuration dialog box.

Complete the following steps to use this example.

  1. Select Execute»Single Pass to run the sequence.
  2. Select Continue. If you do not have the LabVIEW development system or LabVIEW RTE installed, select the Continue - skip LabVIEW option.
  3. When execution completes, review the report on the Report pane.