TmStartCodeGen Procedure

Opens a file into which PV‑WAVE code is written.

Usage

TmStartCodegen, filename

Parameters

filename—A string containing the name of a file in which to write the generated PV‑WAVE code.

Keywords

None.

Discussion

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

TmStartCodeGen opens the code generation file. Strings are written to this file with TmCodeGen. When the writing is completed, TmEndCodeGen is called to write an end statement to the file and close it.

This routines is called before the execution of the TM_CODEGEN method.

Example

TmStartCodeGen, 'AppCode.pro'

See Also

TmCodeGen, TmEndCodeGen