![]() | Download Help (Windows Only) |
The ATML Toolkit includes custom code generator API classes, properties, methods, and enumerations that you can use when implementing the code generator functionality.
For example, if you want to implement the PreTranslateAction callback in LabVIEW and you want to obtain the path of the code module the translator generates so that you can modify the code module, you can use the CodeGenerator_PreTranslateAction VI, which requires a CodeGenerator control connected to the connector pane. The CodeGenerator control is an Automation Refnum control that uses the LVCodeGenerator interface of the custom code generator API. You can use the LVCodeGenerator.CodeModulePath property to obtain the absolute file path of the generated code module.
Example LabVIEW Custom Code Generator VIs
Generating Complete Code Modules Using a Custom Code Generator
Helpful
Not Helpful