Calling a LabWindows/CVI Custom Code Generator dll during an Incremental Update
- Updated2025-10-28
- 2 minute(s) read
Calling a LabWindows/CVI Custom Code Generator dll during an Incremental Update
The example located in the <TestStand Public>\Examples\Toolkits\ATMLTDTranslator\Code Generator\CVI directory demonstrates how the ATML TD translator uses a custom code generator dll to incrementally update LabWindows/CVI code modules.
Complete the following steps to use the example:
- Complete the steps in the Recommended LabWindows/CVI Function Prototypes tutorial to translate <TestStand Public>\Examples\Toolkits\ATMLTDTranslator\Translator\Test Description 1.0\Computer 1.0.xml, which is an ATML TD instance document, to a TestStand sequence file and a set of LabWindows/CVI code modules using a LabWindows/CVI custom code generator dll.
- In LabWindows/CVI, open <TestStand Public>\Examples\Toolkits\ATMLTDTranslator\Code Generator\CVI\CVICodeGenerator.prj.
- Build the project to generate the dll.
- In TestStand, select to launch the ATML Test Description Translator Configuration dialog box.
- Click the General Settings tab and enable the Update Sequence File option.
- Click the Code Module Settings tab and enable the LabWindows/CVI option.
- Click the Browse button next to the Path to the Custom Code Generator DLL control and browse to the path of the dll you built in Step 3.
- Click OK to close the ATML Test Description Translator Configuration dialog box.
- Close all open sequence files.
- Select to launch the File Open dialog box.
- Browse to <TestStand Public>\Examples\Toolkits\ATMLTDTranslator\Translator\Test Description 1.0\Computer 1.0 - Update.xml.
- Click Open. The Update Options dialog box launches.
- Enable the Use the Selected File to Update option and click the Browse button to select the Computer.seq sequence file you created in the Recommended LabWindows/CVI Function Prototypes section. The translator updates the existing sequence file and the LabWindows/CVI code modules it had previously created.