Serial port
From SpinetiX Support Wiki
Introduction
The iBX410, iBX410W, iBX440, HMP400, HMP400W, HMP300, HMP350, and the legacy players can send / receive commands to / from external devices compatible with the RS-232 serial communication standard - most professional monitors support this standard for switching on / off operation mode and other configurations.
- The communication through the serial port is usually governed by a serial port protocol file, although it is also possible to write and read from the serial port using the JavaScript COM API.
- The HMP comes with four built-in protocol files and allows uploading custom protocol files with the appropriate commands supplied by the device manufacturer.
Configuration
The settings related to the RS232 port can be found within Control Center, on the
- Peripherals > Serial page for HMP300, HMP350 and HMP400/ HMP400W, iBX410/iBX410W, iBX440 with DSOS license.
- I/O Automation page for HMP200, HMP130, and HMP100 devices.
RS232 cables
For iBX410/iBX410W and iBX440 players,a dedicated RJ45 port is available for RS232 communication with the following wiring.
For HMP400 and HMP400W players, any of the three USB-C 3.0 ports can be used as a serial port. A compatible USB-C to DB-9 cable can be purchased from SpinetiX.
For HMP300, HMP350, and the legacy players, a 3.5 mm TRS jack (3-pin) serial port interface is present, withstanding any voltages up to -25/+25V and driving output voltage levels between -5V/+5V. A compatible cable can be purchased from SpinetiX, or it can be created with the wiring detailed below.Troubleshooting
Known problems
- Sometimes the 2nd and 3rd pins (see the diagram below) on the projector / screen might have been inverted regardless of the screen documentation (as experienced with the Panasonic devices) - in this case a male-male / male-female 9p null modem adapter (or cable) should be used after the SpinetiX cable.
- Sharp Aquos monitors are known to turn OFF the RS232 receiver when the PowerOff command is received. Some versions have a "hotel mode" that can be enabled to prevent this (contact your screen manufacturer or reseller to see if your screen has this feature and how to enable it). Alternatively, you can send a "RSPW1" command to the screen which tells the screen to respond to PowerOn commands when it's turned off.
Enable extended logging of com events
SpinetiX Support might require you to enable extended logging of com events in case the serial communication doesn't work as expected. In order to instruct the HMP to log more details regarding the com events, follow the procedure detailed below.
- Open the Control Center interface on the HMP.
- Enable the "Advanced" menu:
- On iBX410, iBX410W, iBX440, HMP400, HMP400W, HMP350, HMP300, a special configuration file must be applied - contact SpinetiX Support for details.
- On HMP200, HMP130, and HMP100, open the "Status" page, find the HMP picture and click where the SpinetiX logo (in case of an HMP200) or the blue button (in case of an HMP130 / HMP100) is displayed. A confirmation dialog appears; click on "Yes" to enable the "Advanced settings" menu on the left side.
- Configure the player to log extended information for specific events as detailed below per player model.
- Restart the HMP.
- Leave the player running and / or make some tests to trigger the serial communication failure.
- Generate a new report.
- Once done, revert to the default configuration - enable the "Default configuration" option and click the "Update" button.
Configure iBX410, iBX410W, iBX440, HMP400, HMP400W, HMP350, HMP300
To enable the extended logging of events, follow these steps:
- Click on "Advanced" > "Log".
- Enable "Custom" option and click the "Apply" button.
- Go to "Appender" section and find "debugfile" entry.
- Enable "Subscribe to all loggers" option and set the "Max Size" to 50000KB .
- Click the "Update" button at the bottom of the "Appender" section (and not the one at the bottom of the page!).
- Go to "Logger" section and set the "Priority" option (drop-down list) to "Info".
- Scroll down and find the "comportfsm" row (under "display"); select "Trace" on the drop-down list on the right-most column and make sure that no checkbox are enabled for that row.
- Make sure that no other checkboxes are enabled on the debugfile column.
- Click the "Update" button at the bottom.
Configure HMP200, HMP130, and HMP100
To enable the extended logging of events, follow these steps:
- From the "Advanced" menu, open the "Logs Settings" page.
- Enable "Custom configuration" radio button under the "Config" section. Click the "Apply" button right below it.
- Go to "Appender" section and find "debugfile" entry.
- Enable "Subscribe to all loggers" option and set the "Max Size" to 50000KB .
- Go to "Logger" section and set the "Priority" option (drop-down list) to "Info".
- Scroll down and find the "--- comportfsm" row (under "display"); select "Trace" on the drop-down list on the right-most column and make sure that no checkbox are enabled for that row.
- Make sure that no other checkboxes are enabled on the debugfile column.
- Click the "Update" button at the bottom.