
A
PPENDIX
I: TCL P
ROGRAMMING
G
UIDE
133
amppermission [on/off]
In order for observers and operators to access a user programmed TCL Script Server, the script must issue
amppermssion off to allow the access.
Note:
if the permission is left off without restoring security, non-administrator users may gain
privilege access through TCL scripting shell. A reset to the TCL interpreter or the device will
reset the permission to on and prevent observer and operator type users from accessing TCL
interpreter.
ampresponse
Flushes the output buffer to the client who has last requested the data.
ampopensocket [ip_address port_number]
Opens a socket to a specific port on a device with a given IP address. The command returns a unique socket ID. If
the command fails or the arguments are improperly formatted, the command will return an error message. The IP
address must be specified in “dot notation.” (i.e., 207.25.71.20)
ampwritesocket [socket_id message]
Sends a string to the socket represented by the socket ID. If the write fails or the arguments are invalid, the
command will return an error with an error message.
Command Return
Messages
0 (TCL_OK)
•
No message returned
1 (TCL_ERROR)
•
wrong # args: should be ampwritesocket
socketDescriptor message. Command failed
•
Invalid Socket Descriptor %s
•
write socket failed
Command Return
Messages
0 (TCL_OK)
•
Unique socket ID returned
1 (TCL_ERROR)
•
wrong # args: should be ampopensocket
ipAddress port
•
invalid IP address %s
•
Invalid Port Number %s, values allowed
between [0-65535]
•
Invalid Port Number %s, only 16 bits digit
allowed
•
open socket failed
Summary of Contents for Dominion SX16
Page 1: ...Installation and Operations Manual SX16 SX32...
Page 2: ...This page intentionally left blank...
Page 4: ...This page intentionally left blank...
Page 6: ...This page intentionally left blank...
Page 10: ...iv TABLE OF CONTENTS...
Page 14: ...viii TABLE OF FIGURES...
Page 24: ...10 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 30: ...16 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 82: ...68 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 84: ...70 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 86: ...72 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 88: ...74 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 102: ...88 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 114: ...100 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 120: ...106 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 132: ...118 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 158: ...144 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Page 161: ...APPENDIX K TECHNICAL FAQS 147 DSX 0A E 255 60 2000...
Page 162: ...148 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...