ECU Action Edit Tabs
- 更新时间2023-02-17
- 阅读时长3分钟
ECU Action Edit Tabs
Use the ECU Action step edit tabs in the TestStand Sequence Editor to specify the multisite and per-site input options for the ECU Action step.
The Step Settings pane for the ECU Action step contains the following tabs:
ECU Action Options Tab
The ECU Action Options tab contains several settings which control the execution of the ECU Action step.
The Options tab contains the following options:
-
Multisite Option—Select one of the following options to specify how the
step executes the step code module on multiple sites:
- One thread per subsystem—Execute the code module for each subsystem in a separate thread. The ECU Action step identifies subsystems by using the pin map and the pins shown in PinMapContext Pins and Relays.
- One thread only—Execute the code module for all sites in a single thread.
- One thread per site—Execute the code module for each site in a separate thread. Use this option only when the code module does not use hardware shared among multiple sites.
Note- The ECU Software Toolkit does not synchronize executions when you use the Parallel process model.
- ECU Action steps in the ProcessSetup and ProcessCleanup sequences always execute as if you specified One thread only in the Multisite Option drop-down menu.
- Multisite Execution Diagram—When you associate a pin map file with the sequence file, this diagram shows the threads the step uses to execute code modules when executing with the Batch process model using multiple sites. Each rectangle represents a single thread. The numbers within the rectangle represent the sites tested in the same thread. Each thread corresponds to one of the test socket threads. The step determines which test socket thread executes the code module at run time. This diagram is available only when you chose Select Manually from the Specify Pins and Relays drop-down menu.
- Specify Pins and Relays—Specifies which pins and relays are included in the PinMapContext. Specify pins and relays manually or by using an expression.
-
PinMapContext Pins and Relays—Shows the list of pins and
relays or specifies the expression that determines the pins and relays that the
PinMapContext object contains at run time.
By default, the PinMapContext object contains all DUT pins in the pin map file and no system pins. If your code module uses any system pins, you must manually select the Include System Pins checkbox or include the system pins in your expression. Code modules that use system pins execute in one thread for all sites.
By default, the PinMapContext object contains no relays. If your code module uses any system relays, you must manually select the Include System Relays checkbox or include the system relays in your expression. If your code module uses site relays, you must manually select the Specify Site Relays checkbox and specify the relays or include the site relays in your expression.
To specify the pins and relays manually, choose Select Manually from the Specify Pins and Relays drop-down menu and enable the options you want.
- Include System Pins—Include all system pins.
- Specify DUT Pins—Select the DUT pins or pin groups you want to include. When you select a pin group, the tab dims the DUT pins that belong to the pin group.
- Include System Relays—Include all system relays.
- Specify Site Relays—Select the relays, relay groups, or relay configurations you want to include. When you select a relay group or relay configuration, the tab dims the relays that belong to the relay group or configuration.
Note If you choose One thread only or One thread per site in the Multisite Option drop-down menu, all pins and relays are included in the PinMapContext and the checkboxes are disabled.To specify the pins and relays using an expression, select Use Expression from the Specify Pins and Relays drop-down menu. At run time, the expression you use must evaluate to an array of DUT and system pin names, and site and system relay names.Note The PinMapContext object for steps in the ProcessSetup and ProcessCleanup sequences always contains all DUT and system pins and all site and system relays.