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

AVEVA™ Plant SCADA

PrintLn

  • Last UpdatedJul 18, 2023
  • 1 minute read

Prints a string on the current device, followed by a newline character. You should call this function only in a report. The output will be sent to the device or group of devices defined in the Reports database (in the output device field).

Note: To print a new line in an RTF report, use the "\par" special character. For example, PrintLn("String" + "\par").

Syntax

PrintLn(String)

String:

The string (data) to print.

Return Value

0 (zero) if successful, otherwise an error code is returned.

Print, DevCurr, DevPrint, DevWrite

Example

! Print "Testvar" followed by a new line.
PrintLn("Value of Testvar="+Testvar:##.#);

See Also

Device Functions

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