Deleting Sequence File and Code Module Constructs when Incrementally Updating a Sequence File

TestStand ATML Toolkit 2017 Help

Edition Date: June 2018

Part Number: 374205B-01

»View Product Info
Download Help (Windows Only)

In some cases when incrementally updating a sequence file and code modules, you might want to retain customizations you made to sequence file constructs such as steps, sequences, and local variables and code module constructs such as comments, parameters, controls, and indicators created during the previous translation so you can copy the customizations from the previous construct to the updated construct.

Use the Delete Previously Generated Sequence File and Code Module Constructs option on the General Settings tab of the ATML Test Description Translator Configuration dialog box to specify whether the translator retains or deletes previously created constructs.

When you enable this option, the ATML TD translator deletes TestStand steps, sequences, and local variables and block diagram labels in LabVIEW code modules or function comments in LabWindows/CVI code modules created during the previous translation. The translator deletes these items when incrementally updating a sequence file if you have deleted the corresponding elements from the source TD instance document, as shown in the following table.

When you disable this option, the translator retains TestStand steps, sequences, and local variables and block diagram labels in LabVIEW code modules or function comments in LabWindows/CVI code modules when incrementally updating a sequence file, even if you have deleted the corresponding elements from the source TD instance document. The translator deletes in the retained TestStand constructs the attributes previously created for the attributes of translated elements in the source TD instance document. For comments in retained code modules, the translator deletes from the comments the <ATMLTranslatorComment> and </ATMLTranslatorComment> tags previously created for some child elements of the <Action> and <Behavior> elements.

Change in Source TD Instance Document Constructs Deleted in Sequence File
You delete a <Step> child element of a <TestGroup> element of the TestGroupSequence type, or child element of a <Sequence> element. The TestStand step that corresponds to the deleted <Step> element and the local variables TestStand passes to the code module for the step.
You delete an <ActionReference> or a <Step> child element of a <TestGroup> element of the TestGroupSerial, TestGroupUnspecifiedOrder, or TestGroupDiagnosticModel type, or a child element of a <Serial>, Parallel, UnspecifiedOrder, or Diagnostoc element. The TestStand step that corresponds to the deleted <ActionReference> element and the local variables TestStand passes to the code module for the step.
You delete an <ActionReference> or a <Step> child element of a <TestGroup> element of the TestGroupParallel type or a child element of a <Parallel> element. The Sequence Call step that corresponds to the deleted <ActionReference> element, the local variables TestStand passes to the code module for the step, and the sequence the Sequence Call step calls.
You delete a <TestGroup> element. The sequence that corresponds to the deleted <TestGroup> element.
You delete an <AutomaticGeneration>, <Description>, <Extension>, <IeeeStd1641>, or <Operations> child element of the <Action>/<Behavior> element. The comments in the code module that correspond to the deleted <AutomaticGeneration>, <Description>, <Extension>, <IeeeStd1641>, or <Operations> element.
You delete an <AutomaticGeneration>, <FailureFaultData>, <TsfLibraries>, <Tools>, or <UUT> child element of the <TestDescription> root element. The file global variables that correspond to the deleted <AutomaticGeneration>, <FailureFaultData>, <TsfLibraries>, <Tools>, or <UUT> element.

See Also

<Action> Element

<ActionReference> Element

ATML Test Description Translator Configuration dialog box

<Behavior> Element

Incrementally Updating a Translated Sequence File

Sequence Call Step

<Step> Element

Storing TD Instance Document Attributes in a Translated Sequence

<TestDescription> Root Element

<TestGroup> Element

WAS THIS ARTICLE HELPFUL?

Not Helpful