CleanupTranslateTestGroup 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 CleanupTranslateTestGroup callback only once per translation and after translating all <TestGroup> elements.

Typical Use

Use the CleanupTranslateTestGroup callback to deallocate resources the SetupTranslateTestGroup callback allocated.

LabVIEW

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

CodeGenerator_CleanupTranslateTestGroup.vi

  • TranslatorCodeGenerator—Automation Refnum control that uses the TranslatorCodeGenerator interface.
  • DOMNode—Automation Refnum control that uses the MSXML DOM Node of the <TestGroups> 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_CleanupTranslateTestGroup(
IDispatch * translatorCodeGen,
IDispatch * domNode,
long* errorCode,
BSTR* errorDescription )

Microsoft Visual C++ Function Prototype

extern "C" HRESULT __stdcall CodeGenerator_CleanupTranslateTestGroup(
TranslatorCodeGenerator* translatorCodeGen,
MSXML2::IXMLDOMNode* domNode,
long* errorCode,
BSTR* errorDescription )

Parameters

  • translatorCodeGen—Instance that implements TranslatorCodeGenerator interface.
  • domNode—MSXML DOM Node of the <TestGroups> 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

SetupTranslateTestGroup Callback

<TestGroup> Element

TranslatorCodeGenerator

WAS THIS ARTICLE HELPFUL?

Not Helpful