Code Generator Callbacks

TestStand ATML Toolkit 2017 Help

Edition Date: June 2018

Part Number: 374205B-01

»View Product Info
Download Help (Windows Only)

The ATML TD translator calls the following callbacks for generating code modules when translating TD instance documents. You can use the callbacks to implement a custom code generator that programmatically creates all the code required in LabVIEW or LabWindows/CVI to complete the test program. You can implement one or more callbacks in a custom code generator.

(LabVIEW)  National Instruments recommends that you use an example callback VI, located in the <TestStand Public>\Examples\Toolkits\ATMLTDTranslator\Code Generator\LabVIEW directory, as a starting point for implementing a VI that calls a custom code generator callback. Complete the steps in the LabVIEW custom code generator tutorial to create a LabVIEW code generator VI.

(LabWindows/CVI)  National Instruments recommends that you use a LabWindows/CVI function prototype or Microsoft Visual C++ function prototype as a starting point for implementing a function that calls a custom code generator callback. Complete the steps in the LabWindows/CVI custom code generator tutorial to create a LabWindows/CVI code generator DLL. You can also use this as a base for creating non-LabWindows/CVI code generator DLLs which do not take a NULL value for the CodeGenerator parameter.

Note Note  Refer to the individual callback topics for more information about the specific LabVIEW example VI or LabWindows/CVI function prototype for each callback.
Note Note  The filename for each LabVIEW VI or LabWindows/CVI function that implements a callback must include the CodeGenerator_ prefix.

See Also

Completing the Partial Test Program

Flow of Steps for Translating an <Action> Element

Flow of Steps for Translating a <TestGroup> Element

Implementing a LabVIEW Custom Code Generator

Implementing a LabWindows/CVI Custom Code Generator

Translation Process Overview

WAS THIS ARTICLE HELPFUL?

Not Helpful