Appendix A: NetLinx Control
Native Commands Port 1 (Cont.)
N2412A/N2422A User Manual
77
Command
Description
?LOCAL_PLAY
Request the Local Play/Host Play Playlist
number.
Syntax:
SEND_COMMAND <DEV>, ’?LOCAL_PLAY’
Examples:
SEND_COMMAND 5002:1:0, ’?LOCAL_PLAY’
Command Response:
’LOCAL_PLAY-1’
?USB_HID_SERVICE
Request the status of the USB.
Syntax:
SEND_COMMAND <DEV>, ’?USB_HID_SERVICE’
Examples:
SEND_COMMAND 5002:1:0, ’?USB_HID_SERVICE’
Command Response:
’USB_HID_SERVICE-<0|1>’
IR/Serial Send Commands Port 3
Command
Description
GET BAUD
Get the RS-232 port's communication
parameters.
Syntax:
SEND_COMMAND <DEV>, ’GET BAUD’
Example:
SEND_COMMAND 5002:3:0, ’GET BAUD’
Command Response:
'GET-9600,N,8,1'
SET BAUD
Set the RS-232 port's communication
parameters.
Syntax:
SEND_COMMAND <DEV>, ’SET BAUD <baud>,<parity>,<data>,<stop>’
Variables:
baud = baud rates are: 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200.
parity = N (none), O (odd), E (even).
data = 8 data bits.
stop = 1 and 2 stop bits.
Example:
SEND_COMMAND 5002:3:0, ’SET BAUD 9600,N,8,1’
Command Response:
'SET- BAUD 9600,N,8,1'
Pass Through Commands
For other commands, the NetLinx String command will interpret any existing N-Series API command. For example, to
enable the scaler, send the following string command:
SEND_STRING <DEV>, ’scalerenable’
Similarly, to disable the scaler, send the string command:
SEND_STRING <DEV>, ’scalerdisable’
The response to a pass through string command is the issued command followed by the status message. For
example:
•
Command string:
SEND_STRING <DEV>, ’scalerenable’
•
Response string
“'scalerenable-SVSI_RXGEN2:N225A020000140',A,'NAME:00:19:0B:80:01:BD',A,'MAC:00:19:0B:80:01:BD'…”
NOTE: Multiple commands cannot be issued together separated by
’\r’
.
For more information, refer to the API documentation for the N-Series device.