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

AVEVA™ Plant SCADA

DevPrint

  • Last UpdatedJul 18, 2023
  • 1 minute read

Prints free-format data to groups of devices. Using this function, you can write data to many devices at the same time. You would normally use this function in a report.

Syntax

DevPrint(hGrp, sData, NewLine)

hGrp:

The device handle, or the group handle for a group of devices.

sData:

The data to print to the group of devices.

NewLine:

The newline flag:

0 - Do not insert a newline character.

1 - Insert a newline character.

Return Value

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

DevWriteLn, DevCurr

Example

! Get the report device number or group number (for a group of
devices).
hGrp=DevCurr();
! Print PV123 to a group of devices.
DevPrint(hGrp,"PV123="+PV123:###,1);

See Also

Device Functions

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