Graph Commands Appendix D Obsolete Features
151
Typical Example
pointname = 10;
returnpoint = GetPointValue(pointname,0)
The point 'returnpoint' contains the value 10. The offset is added to any offset
specified for pointname. For example:
returnpoint = GetPointValue(a[10],10)
Causes the 21st element (offsets begin at zero) of array 'a' to be retrieved.
D.4.8 GetSpoolCount
Syntax
returnstate = GetSpoolCount()
Remarks
Typical Example
NumberMessages = GetSpoolCount()
The count of the number of messages (typically printed alarms) that are
queued up waiting to be sent to the CX-Supervisor Alarm/Message printer is
returned.
D.4.9 SetPrinterConfig
Syntax
returnstate StePrintConfig(Driver, Device, Port)
Remarks
Typical Examples
Argument Type Description
pointname point This is the name of the point whose contents
are to be returned.
offset integer This specifies the offset into an array point. 0 if
the point is not an array point.
returnpoint point Point that contains the return value. The type
of data returned is dependant on the pointname
specified.
Note: It is often simpler to access an array element directly, e.g. returnpoint = a[20].
Argument Type Description
returnstate int Number of messages queued up waiting to be
printed on Alarm/Message printer.
Argument Type Description
returnstate Bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Driver String Name of printer device (e.g. "Epson9" for 9 pin
Epson printers.
Device String Name of specific device (e.g. "Epson FX-870").
This is optional.
Port String Name of port or file(e.g. "LPT1.").
Line Terminator String Optional. Sets terminator (e.g. cr) to be added
to end of each printed line.