TranslateTestGroup Callback

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 TranslateTestGroup callback after creating a sequence for each <TestGroup> element.

Typical Use

Use the TranslateTestGroup callback to change the attributes and comments of the sequence translated from a <TestGroup> element.


The following figure shows the controls and indicators connected to the VI connector pane.

  • TranslatorCodeGenerator—Automation Refnum control that uses the TranslatorCodeGenerator interface.
  • Sequence—Automation Refnum control that uses the TestStand Sequence interface that <TestStand>\Bin\teapi.dll defines.
  • DOMNode—Automation Refnum control that uses the MSXML DOM Node of the <TestGroup> element.
  • Error Out—The error out cluster, which contains the error status, code, and source information.


LabWindows/CVI Function Prototype

HRESULT __stdcall CodeGenerator_TranslateTestGroup(
IDispatch * translatorCodeGen,
IDispatch * sequence,
IDispatch * domNode,
long* errorCode,
BSTR* errorDescription )

Microsoft Visual C++ Function Prototype

extern "C" HRESULT __stdcall CodeGenerator_TranslateTestGroup(
TranslatorCodeGenerator* translatorCodeGen,
TS::Sequence* sequence,
MSXML2::IXMLDOMNode* domNode,
long* errorCode,
BSTR* errorDescription )


  • translatorCodeGen—Instance that implements TranslatorCodeGenerator interface.
  • sequence—TestStand sequence the translator creates for the <TestGroup> element.
  • domNode—MSXML DOM Node of the <TestGroup> element.
  • errorCode—Error code to log in the log file.
  • errorDescription—Error description of the error code.

See Also

Creating a DLL for a LabWindows/CVI Custom Code Generator

Creating a VI for a LabVIEW Custom Code Generator

Example LabVIEW Custom Code Generator VIs

Recommended LabWindows/CVI Function Prototypes

Recommended Microsoft Visual C++ Function Prototypes


<TestGroup> Element



Not Helpful