PML Customisation
User Guide
Developing PML Code
: PML Tracing
PML Tracing
If a PML File does not appear to be running in the way you expect the easiest thing to do is to turn on PML Tracing with the command:
PML TRACE ON
With PML Tracing switched on, each of the PML lines executed is output to the parent window together with its line number. Additional tracing messages tell you when they have begun to process a new PML File and when it has finished. To turn off tracing type:
PML TRACE OFF
These commands can also be put into a PML File on a temporary basis.
You can also turn PML tracing on by setting the Environment Variable
PMLTRACE
to
ON
before they start the program.
For more precise control of PML tracing you can use the
$R
command.
$R100
is the equivalent of
PML TRACE ON
and
$R0
is the same as
PML TRACE OFF
.
Type the command
$HR
for online help on how to use the
$R
command.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.