NetLinx Programming
89
MAX-CSE/MAX-CSD10 Operation/Reference Guide
RS-232/422/485 Send_Commands (Port 2)
The serial port is located at Port 2 in NetLinx D:P:S nomenclature. The serial port supports the
following commands and escape sequences. In these examples: <DEV> = device.
MAX-CSD Streaming Send_Commands (Cont.)
Command Description
START RTSP SERVER
Attempts to START the RTSP
SERVER and will retrieve
and update the session list
info.
If the RTSP SERVER started properly the 'GET SESSION LIST' table will
return with a 1. Otherwise it will return 0. This command is not accessible if
system mode is not set to RTSP
Syntax:
SEND_COMMAND <DEV>, 'START RTSP SERVER <num>'
Variables:
num = 1 to 10: One of the ten RTSP SERVER Entries.
Example:
SEND_COMMAND <DEV>, 'START RTSP SERVER 2'
STOP
Stops transmission of audio
and video.
Stops reception of audio and video.
Syntax:
SEND_COMMAND <DEV>,'STOP'
Example:
SEND_COMMAND DECODER, 'STOP'
RS-232/422/485 Send_Commands
Command Description
B9MOFF
Set the port's communication
parameters for stop and data
bits according to the software
settings on the RS-232 port
(default).
Disables 9-bit in 232/422/455 mode. By default, this returns the communication
settings on the serial/data port to the last programmed parameters. This
command works in conjunction with the 'B9MON' command.
Syntax:
SEND_COMMAND <DEV>,"'B9MOFF'"
Example:
SEND_COMMAND RS232_1,"'B9MOFF'"
Sets the RS-232 port settings to match the port's configuration settings.
B9MON
Override and set the current
communication settings and
parameters on the RS-232
port to 9 data bits with one
stop bit.
Enables 9-bit in 232/422/455 mode. This command works in conjunction with
the 'B9MOFF' command.
Syntax:
SEND_COMMAND <DEV>,"'B9MON'"
Example:
SEND_COMMAND RS232_1,"'B9MON'"
Resets the RS-232 port's communication parameters to nine data bits, one
stop bit, and locks-in the baud rate.
CHARD
Set the delay time between
all transmitted characters to
the value specified (in 100
Microsecond increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARD-<time>'"
Variable:
time = 0 - 255. Measured in 100 microsecond increments.
Example:
SEND_COMMAND RS232_1,"'CHARD-10'"
Sets a 1-millisecond delay between all transmitted characters.
Comments to this Manuals