Exploring a Basic ECU Toolkit Test Program

Complete the following steps to open an existing sequence file and configure it to create a basic ECU test program.

Note Completed solution files can be found in the <TestStand Public>\Tutorial\NI_ECUToolkit\Basic Test Program\Solution directory.
  1. Open <TestStand Public>\Tutorial\NI_ECUToolkit\Basic Test Program\Basic Test Program.seq. This sequence file contains the following sequences:
    1. MainSequence—Contains a single test step, Pin Impedance Test, which performs a pin impedance test on all A pins.
    2. PinImpedanceTest_Core—Sequence which serves as the module called by the Pin Impedance Test step in MainSequence. This sequence uses measurement control steps to configure instruments, perform measurements, and publish measurement data to the Pin Impedance Test step in MainSequence.
    3. ProcessSetup—Initializes instruments and instrument sessions.
    4. ProcessCleanup—Closes instrument sessions.
  2. Specify a pin map file to define the instrumentation on the tester, define the pins on the DUT, and define how DUT pins are connected to tester instrumentation for each site.
    1. Select ECU Toolkit » Edit Test Program: Basic Test Program.seq or click the Edit Test Program 1378 button on the ECU Toolkit toolbar to launch the Test Program Editor for the sequence file.
    2. Select the Pin Map panel and enter Basic Test Program.pinmap in the Pin Map File Path textbox. The filename you enter is a relative path from the sequence file to the pin map file, which in this case is located in the same directory as the sequence file.
    3. Click the Edit Pin Map File 1378 button located to the right of the Pin Map File Path display to open the Basic Test Program.pinmap file in the Pin Map Editor.
    4. Review the pin map. Click OK to close the Pin Map Editor.
    5. Select the InstrumentStudio Project panel and enter Basic Test Program.instudioproj in the File Path textbox. The filename you enter is a relative path from the sequence file to the InstrumentStudio project file, which in this case is located in the same directory as the sequence file.
    6. Click OK to close the Test Program Editor.
  3. Select the MainSequence sequence in the sequence file. This sequence contains the Pin Impedance Test step, which is an instance of the ECU Multi Test step type and uses the Sequence adapter.
  4. Select the Pin Impedance Test step and select the Tests tab of the Step Settings pane. You can use the Tests tab to define tests for individual pins or pin groups. You can use ECU Toolkit measurement control steps that refer to pin or pin group names in the called sequence without needing to know how each pin is connected to an instrument.
  5. Create a test program configuration and specify a test limits file to load limit values into ECU Multi Test step tests at run time. You can use the same test program with multiple configurations that specify different limits for the tests.
    1. Select ECU Toolkit » Edit Test Program: Basic Test Program.seq or click the Edit Test Program 1378 button on the ECU Toolkit toolbar to launch the Test Program Editor for the sequence file.
    2. Select the Test Limits Files panel and click the Add Test Limits File button to add a new test limits file reference to the test program.
    3. Enter Production Limits as the name to identify the new test limits file in the test program.
    4. Enter ProductionLimits.txt in the Test Limits File Path textbox. The filename you enter is a relative path from the sequence file to the InstrumentStudio project file, which in this case is located in the same directory as the sequence file.
    5. Select the Configurations panel and click the Add Configurations button to add a new configuration to the test program.
    6. Enter Production as the name of the configuration.
    7. Select the newly created Production panel. Each configuration you specify uses a corresponding Configuration panel that contains a table of the test program conditions and fields for configuring the test limits file for the configuration.
    8. Select Production Limits in the Test Limits File listbox.
  6. Specify a sequence for the Pin Impedance Test step.
    1. Select the MainSequence sequence and Pin Impedance Test step.
    2. Select the Module tab on the Step Settings pane.
    3. Click the Browse 1378 button located to the right of the File Pathname textbox.
    4. Browse to <TestStand Public>\Tutorial\NI_ECUToolkit\Basic Test Program\Basic Test Program.seq and click Open. Select the Use a Relative Path for the File you Selected option when prompted, and click OK.
    5. Select PinImpedanceTest_Core from the Sequence drop-down listbox.
    6. In the Sequence Parameter Table, configure the following parameter values:
      Parameter Value
      Pin Map Context Step.PinMapContext
      Pins {"A","B","C","D","E","F"}
  7. Specify a measurement configuration file for the Apply Pin Configuration step in the PinImpedanceTest_Core sequence called by the Pin Impedance Test step.
    1. Select the PinImpedanceTest_Core sequence and the Apply Pin Configuration step.
    2. Click the Step Settings tab on the Step Settings pane.
    3. Click the Browse 1378 button located to the right of the Measurement Configuration Path textbox.
    4. Browse to <TestStand Public>\Tutorial\NI_ECUToolkit\Basic Test Program\BasicTestProgram.measconfig and click Open. Select the Use a Relative Path for the File you Selected option when prompted, and click OK.
    5. In the Parameter Table, configure the following parameter values:
      NAME VALUE
      Pin Map Context Parameters.PinMapContext
      Pins to Configure Parameters.Pins
  8. Save the sequence file.
  9. Configure a lot to run.
    1. Select ECU Toolkit » Configure Lot or click the Configure Lot 1378 button on the ECU Toolkit toolbar to launch the Configure Lot Settings dialog box.
    2. Select Production in the Test Program Configuration option.
    3. Click OK to close the Configure Lot Settings dialog box.
    Note You can also use the Active Configuration drop-down menu on the ECU Toolkit toolbar to set the configuration.