![]() | Download Help (Windows Only) |
The ATML TD translator calls the Setup callback only once per translation and before translating the TD instance document.
Use the Setup callback when you want to allocate resources required for translating the TD instance document.
The following figure shows the controls and indicators connected to the VI connector pane.
HRESULT __stdcall CodeGenerator_Setup(
IDispatch* translatorCodeGen,
IDispatch * domDocument,
long* errorCode,
BSTR* errorDescription )
extern "C" HRESULT __stdcall CodeGenerator_Setup(
TranslatorCodeGenerator* translatorCodeGen,
MSXML2::IXMLDOMDocument2* domDocument,
long* errorCode,
BSTR* errorDescription )
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
Helpful
Not Helpful