Security Commands SECTION 6 Functions and Methods
96
6-14-6 PrintSpoolQueue
Syntax
returnstate = PrintspoolQueue()
Remarks
Typical Example
PrintSpoolQueue
Any message (typically printed alarms) that are queued up waiting to be sent
to the CX-Supervisor Alarm/Message printer is printed immediately.
6-15 Security Commands
6-15-1 Login
Syntax
returnstate = Login(username, password)
Remarks
Typical Examples
Login()
The Login dialog is displayed for user entry.
Login("Designer", "Designer")
The default 'Designer' user is logged in automatically using matching
password.
References
Refer to the CX-Supervisor User Manual for details of Login.
6-15-2 Logout
Syntax
returnstate = Logout()
Remarks
Typical Example
Logout()
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
username text Optional parameter with name of user to login.
If omitted, the login dialog will be shown.
password text Optional parameter with password for user to
login. If used, username must be specified,
even if only empty i.e. "". If omitted, the login
dialog will be shown.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.