Results 1 to 6 of 6

Thread: SAMPO RS-232 Computer Controls

  1. #1
    Join Date
    Mar 2004
    Posts
    3

    Default SAMPO RS-232 Computer Controls

    I am trying to use the Generic Serial Plugin to control my SAMPO plasma monitor. I have been working on this for a couple of days and have had no success. The SAMPO monitor is identical to the Gateway GTW-P42M102 plasma TV, below is a link to Gateway's "RS-232 Serial Connection Technical Reference".
    Any assistance would be greatly appreciated.
    http://support.gateway.com/s/Manuals...47/8508947.htm
    Thank's
    Allan

  2. #2
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Allan,

    One quick way to make sure your cabling is correct is to load up hyperterminal and make sure you tv is responding to commands.

    I would look at some of the other posts around here on the serial plugin and in the download section to see how other people are controlling devices.

    This is very doable but does require you have/learn how serial devices work etc.

  3. #3
    Join Date
    Mar 2004
    Posts
    3

    Default

    Thanks for your response.
    When I uses other programs, RS-232 HEX, HyperTerm, etc., I have no problems communicating with the SAMPO monitor. I just can't seem to get the "Generic Serial Plugin" to send or receive hex commands that the monitor understands. The link in my previous message shows the format of the hex commands that the monitor is expecting to receive.
    Thanks,
    Allan

  4. #4
    Join Date
    Feb 2001
    Location
    Plano, TX, USA
    Posts
    3,055

    Default

    Since you provided no information on what you have tried to do so far with the serial plugin, I'll assume you haven't tried to do anything.

    Install and enable the plugin

    Use the settings button on the file/settings/plugins page to bring up the plugin settings. Press the New button to create a new device.

    From the link in your previous post, set the values to Baud Rate 9600 bps, Parity None, Character Length 8 Bits, Stop Bit 1 Bits and handhshaking none. Choose the port the device is attached to (ComX) and type a name for the device (I'll assume SAMPO). Optionally, type in a better description.

    Press the transmit button in the message definitions section and make sure HEX->BIN is the only thing checked. Press OK.

    Press the receive button in the message definitions section and make sure:
    Character events are enabled
    Fixed length is chosen (10 characters)
    Enable receive timeout is chosen (10 milliseconds)
    Translate (bin->hex) is enabled

    Press OK to dismiss the receive message dialog.

    Press OK to dismiss the device dialog.

    You should be back at the Girder Settings dialog. Press OK to dismiss it.

    Your device should be usable.

    Add a command to the command tree. Choose the plugins tab (on the right). Highlight the "Generic Serial Support" and press the Settings button. Make sure Send Data is chosen and type 8000 in the edit field. At the bottom of the dialog, make sure the device buitton says SAMPO. If it doesn't, press it and choose SAMPO from the list. Press OK.

    Highlight the freshly made command and press F5. The data above (8000) should be sent and the plasma should turn off. To turn it on, follow the same instructions but use 8001 instead of 8000.

    I hope this helps.

    If this works, we can talk about how to use the LUA interface to write data to the device for volume and other control. OK?
    Mark F

  5. #5
    Join Date
    Mar 2004
    Posts
    3

    Default

    Thanks,
    I had everything correct except the HEX command that I was sending. I was trying to send it as two commands, 0x80 0x00 or 80 00, not 8000. I couldn't find information anywhere on how to send HEX commands with the Plugin or LUA. I also have a simple LUA script working.
    Thank's again...simple solution.
    Allan

  6. #6
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Alan, when you have everything working would you please send it to the girder support address?

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •