Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

PML Tracing

  • Last UpdatedOct 25, 2022
  • 1 minute read

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.

Related Links
TitleResults for “How to create a CRG?”Also Available in