
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
Содержание Dominion SX16
Страница 1: ...Installation and Operations Manual SX16 SX32...
Страница 2: ...This page intentionally left blank...
Страница 4: ...This page intentionally left blank...
Страница 6: ...This page intentionally left blank...
Страница 10: ...iv TABLE OF CONTENTS...
Страница 14: ...viii TABLE OF FIGURES...
Страница 24: ...10 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 30: ...16 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 82: ...68 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 84: ...70 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 86: ...72 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 88: ...74 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 102: ...88 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 114: ...100 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 120: ...106 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 132: ...118 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 158: ...144 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...
Страница 161: ...APPENDIX K TECHNICAL FAQS 147 DSX 0A E 255 60 2000...
Страница 162: ...148 DOMINION SX INSTALLATION AND OPERATIONS MANUAL...