TmEndCodeGen Procedure

Closes the file in which generated code is written.

Usage

TmEndCodeGen 

Parameters

None.

Keywords

None.

Discussion

The code generation functions allow a user to write the PV‑WAVE code used to create a plot, import data, or any other VDA Tool action.

TmEndCodeGen closes the code generation file and frees its logical unit number (LUN). The code generation file is opened with TmStartCodeGen, and strings are written to the file with TmCodeGen. When complete, call TmEndCodeGen to write an end statement to the file and close it.

This code generation routine must be used after execution of the method TM_CODEGEN.

TmEndCodeGen called from the Code Generation command on the File menu.

Example

TmEndCodeGen

See Also

TmCodeGen, TmStartCodeGen