DevPrint
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 is returned.
Related Functions
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