Serial port

From SpinetiX Support Wiki

(Redirected from RS232)
Jump to: navigation, search

Introduction

The HMP features a 3-pin RS-232 serial port interface which can be used to send / receive commands to / from external devices compatible with the RS-232 serial communication standard. Most professional monitors also support the RS-232 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. The HMP comes with four built-in protocol files - for LG LF65, Panasonic plasama and Sharp Aquos screens, plus one for NMEA-0183 standard - and also allows uploading custom protocol files with the appropriate commands supplied by the device manufacturer.


"Technical note"
Starting with the 3.0 firmware release, it is possible to write and read from the serial port using the JavaScript COM API.

Configuration

The settings related to the RS232 port can be found within Control Center, on the


Note that in firmware versions prior to 3.1, the serial port is disabled by default - in can be enabled by activating a serial port protocol file or by activating the "Enable display power saving" option from "Display Settings" page > "Power Save" tab.

RS232 cable

Rs232pinouts.png

The HMP employs a 3.5mm TRS jack for RS232 interface (to save space on the panel), which can withstand any voltages up to -25/+25V and drives output voltage levels between -5V/+5V.

A compatible cable can be purchased from SpinetiX or it can be created with the wiring detailed on the right.

Troubleshooting

Known problems

  • Sometimes the 2nd and 3rd pins (see the diagram below) on the projector / screen might 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.

  1. Open the Control Center interface on the HMP.
  2. Enable the "Advanced" menu:
    • On HMP350 and 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.
  3. Configure the player to log extended information for specific events as detailed below per player model.
  4. Restart the HMP.
  5. Leave the player running and / or make some tests to trigger the serial communication failure.
  6. Generate a new report.
  7. Once done, revert to the default configuration - enable the "Default configuration" option and click the "Update" button.

Configure HMP350 and HMP300

To enable the extended logging of events, follow these steps:

  1. Click on "Advanced" > "Log".
  2. Enable "Custom" option and click the "Apply" button.
  3. Go to "Appender" section and find "debugfile" entry.
  4. Enable "Subscribe to all loggers" option and set the "Max Size" to 50000KB .
  5. Click the "Update" button at the bottom of the "Appender" section (and not the one at the bottom of the page!).
  6. Go to "Logger" section and set the "Priority" option (drop-down list) to "Info".
  7. 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.
  8. Make sure that no other checkboxes are enabled on the debugfile column.
  9. Click the "Update" button at the bottom.

Configure HMP200, HMP130, and HMP100

To enable the extended logging of events, follow these steps:

  1. From the "Advanced" menu, open the "Logs Settings" page.
  2. Enable "Custom configuration" radio button under the "Config" section. Click the "Apply" button right below it.
  3. Go to "Appender" section and find "debugfile" entry.
  4. Enable "Subscribe to all loggers" option and set the "Max Size" to 50000KB .
  5. Go to "Logger" section and set the "Priority" option (drop-down list) to "Info".
  6. 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.
  7. Make sure that no other checkboxes are enabled on the debugfile column.
  8. Click the "Update" button at the bottom.
This page was last modified on 7 June 2018, at 17:23.