<Action> Element

TestStand ATML Toolkit 2017 Help

Edition Date: June 2018

Part Number: 374205B-01

»View Product Info
Download Help (Windows Only)

An <Action> element defines a step for the test program to complete.

The translator initially translates an <Action> element into a TestStand step in a sequence named ATMLTDDataSequence. The name of the step is the same as the value of the name attribute of the <Action> element. The translator then copies the step into the sequence it creates for the <TestGroup> element. The ATMLTDDataSequence sequence is hidden on the Sequences pane.

Caution Caution  Do not edit or modify the ATMLTDDataSequence because the translator uses the steps in the ATMLTDDataSequence to incrementally update <Action> elements.

The <Action>/<Behavior> element defines how the test program must implement the step. The translator translates the <Behavior> element as a code module for the translated step. Enable the LabVIEW or LabWindows/CVI option on the Code Module Settings tab of the ATML Test Description Translator Configuration dialog box to specify that the translator create code modules in LabVIEW or LabWindows/CVI, respectively. The name of the VI or function the translator creates is the same as the value of the name attribute of the <Action> element.

The type of test the translated step implements depends on the value of the xsi:type attribute of the <Action> element and the limits that the <Action>/<TestResults>/<TestResult>/<TestLimits> element defines. The xsi:type attribute can specify a value of SessionAction or Test.

Note Note  If you specify a value for the customType attribute of the <Action> element, the translator creates a TestStand step but the value of the customType attribute specifies the step type.
Incremental Update Incremental Update  The translator distinguishes <Action> elements based on the name attribute. If you modify the name attribute for an <Action> element, the translator considers the element a new <Action> element and creates a new step that corresponds to that <Action> element. The translator searches for the corresponding step in the ATMLTDDataSequence and updates the step based on the changes in the source TD instance document.


The step stores all attributes as TestStand PropertyObject attributes.

Child Elements

The translator translates the following child elements of the <Action> element to a TestStand construct or to a LabVIEW or LabWindows/CVI code module construct:

See Also

<ActionReference> Element

ATML Test Description Translator Configuration dialog box

Creating LabVIEW Code Modules for <Behavior> Elements

Creating LabWindows/CVI Code Modules for <Behavior> Elements

Flow of Steps for Translating an <Action> Element

PropertyObject Attributes

Sequences Pane

<Step> Element

Storing TD Instance Document Attributes in a Translated Sequence

<TestGroup> Element

TestGroupSequence Type


Not Helpful