Serial Port (I/O USB Bridge)
The RS-232 Serial Port component allows you to make a connection to the RS-232 connector on a USB Video Bridge for Lua Scripting. When a connection is made, and an appropriate Lua script written, you can control and read from devices such as DVD players, recording hardware, video, lighting, and so on.
Pinout
- Pin 2 - RX (Receive)
- Pin 3 - TX (Transmit)
- Pin 5 - GND (Signal Ground)
- All other pins on a Core are not supported
- Pin 4 on an I/O-22 provides +5.5VDC @ 70mA (not on any other Q-SYS product, though)
This signal to DE-9 configuration is known as DTE. All 9-pin D-Shell RS-232 pinned as DTE have this configuration. All PC serial ports are DTE as is the Core, I/O-Frame and I/O-22. Usually peripherals are DCE, which reverses the receive and transmit pins, allowing a straight-thru cable to be used.
You must check the pinout of any equipment, including the cable, to be connected to a Q-SYS serial port for input or output. Many times in serial troubleshooting, problems may be solved by inserting a "null-modem" adapter or cable to swap the TX and RX pin positions. For custom terminated DE-9 connectors, pins 2 and 3 may need to be swapped on one end of the cable. In any case, a TX pin on one end MUST be connected to an RX pin on the other and vise-versa for data to flow properly
Inputs
There are no input pins available for the Serial Port component.
Outputs
Serial Port - Connects to the Control Script, Command Buttons, and Text Controller components. These components must be configured for Serial Port input. Serial ports are represented by the following symbol , and wiring is represented by a thin black line.
Tip: For additional properties not listed, refer to the Properties Panel help topic for more information.
The Serial Port has no unique Properties.
TX Bytes
Displays a running total of the number of bytes sent.
RX Bytes
Displays a running total of the number of bytes received.
Reset
Resets both TX Bytes and RX Bytes to zero.
The available Control Pins depend on settings in Properties.
Pin Name |
Value |
String |
Position |
Pins Available |
---|---|---|---|---|
Receive Bytes |
Text Box |
Output |
||
Reset |
Trigger |
Input / Output |
||
Transmit Bytes |
Text Box |
Output |