ATML Test Description Translator Configuration Dialog Box

TestStand ATML Toolkit 2017 Help

Edition Date: June 2018

Part Number: 374205B-01

»View Product Info
Download Help (Windows Only)

Code Module Settings Tab

The Code Module Settings tab contains the following options:

  • Disable Code Generation—The ATML TD translator generates the NoneType adapter steps in the generated sequence file.
  • Path To Custom Code Generator DLL—A path to a custom code generator DLL which you can use to implement a custom code generator to generate code modules that programmatically implement the logic required to complete the test program. The DLL exports functions that implement a custom code generator callback. This control is optional.
    Note Note  The CodeGenerator parameter from the ATML TD Translator is NULL, unlike the LabWindows/CVI custom code DLL.
  • LabVIEW—The ATML TD translator generates LabVIEW code modules for the generated sequence file.
  • LabVIEW Code Module Settings—Contains the following options for configuring the LabVIEW code module:
    • LabVIEW VI Path—The path to the VIs generated for the code module. This path is always relative to the generated sequence file, whose location you specify on the Generated Sequence File Settings tab. When this control is empty, the translator creates the VIs in the same directory as the generated sequence file.
    • Directory Containing Custom Code Generator VIs—The directory that contains the VIs you can use to implement a LabVIEW custom code generator to generate code modules that programmatically implement the logic required to complete the test program. The directory can contain one or more VIs that each implement a custom code generator callback. This control is optional.
      Note Note  By default, the translator creates block diagram labels that begin with the string <ATMLTranslatorComment> for the <AutomaticGeneration>, <Description>, <Extension>, <IeeeStd1641>, and <Operations> child elements of the <Behavior> element. If you do not use a custom code generator, you must manually implement the operations and logic the comments describe.
  • LabWindows/CVI—The ATML TD translator generates a LabWindows/CVI code module for the generated sequence file.
  • LabWindows/CVI Code Module Settings—Contains the following options for configuring the LabWindows/CVI code module:
    • LabWindows/CVI Project File Path—The path to the LabWindows/CVI project file (.prj) generated for the code module. This path is always relative to the generated sequence file, whose location you specify on the Generated Sequence File Settings tab. This control cannot be empty.
    • LabWindows/CVI Source File Path—The path to the LabWindows/CVI C source file generated for the code module. This path is always relative to the generated sequence file, whose location you specify on the Generated Sequence File Settings tab. This control cannot be empty.
    • DLL File Name—The filename of the DLL generated for the code module. This control cannot be empty.
    • Path to Custom Code Generator DLL—The path to the DLL you can use to implement a LabWindows/CVI custom code generator to generate code modules that programmatically implement the logic required to complete the test program. The DLL exports functions that each implement a custom code generator callback. This control is optional.
      Note Note  By default, the translator creates comments that begin with the string <ATMLTranslatorComment> for the <AutomaticGeneration>, <Description>, <Extension>, <IeeeStd1641>, or <Operations> child elements of the <Behavior> element and adds the comments to the function the translator creates for the parent <Action> element. You must manually implement the operations and logic the comments describe. If you do not use a custom code generator, you must manually implement the operations and logic the comments describe.
  • Append ATML Test Description File Name to Code Module Folder Name—When you enable this option, the translator appends the name of the source TD instance document to the directory the translator uses to create code modules. Use this option to create a separate directory for code modules for each TD instance document.

See Also

<Action> Element

<Behavior> Element

Code Generator Callbacks

Completing the Partial Test Program

Generated Sequence File Settings tab

Generating Complete Code Modules Using a Custom Code Generator

Implementing a LabVIEW Custom Code Generator

Implementing a LabWindows/CVI Custom Code Generator

WAS THIS ARTICLE HELPFUL?

Not Helpful