PostTranslateTestGroup 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 PostTranslateTestGroup callback after translating each <TestGroup> element.

Typical Use

Use the PostTranslateTestGroup callback to change the post actions of each step in the translated sequence and deallocate resources the TranslateTestGroup callback allocated.

LabVIEW

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

CodeGenerator_PostTranslateTestGroup.vi

  • 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

LabWindows/CVI Function Prototype

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

Microsoft Visual C++ Function Prototype

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

Parameters

  • 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

Post Actions Panel

Recommended LabWindows/CVI Function Prototypes

Recommended Microsoft Visual C++ Function Prototypes

Sequence

<TestGroup> Element

TranslateTestGroup Callback

TranslatorCodeGenerator

WAS THIS ARTICLE HELPFUL?

Not Helpful