Results 1 to 3 of 3

Thread: Send/receive hex to I/O board, testing Moserial unsuccessful. Realterm for linux?

  1. #1
    Join Date
    Mar 2017
    Beans
    12

    Send/receive hex to I/O board, testing Moserial unsuccessful. Realterm for linux?

    I'm trying to do a basic communication test of an I/O board (on Linux Mint) that uses a 9 byte hex string, before I begin writing code. You send a read hex string to the board, it responds with a reply hex string.
    Pretty simple, it works fine using Realterm on Windows, but I'm struggling to get a response using Moserial on Linux, or picoterm. Moserial does work properly somewhat as I have tested it with a loopback plug and ASCII.


    Moserial doesn't have the granular settings found in Realterm, the basic settings look correct, but I'm getting no reply from the device using Moserial, when sending a hex string like this (0x00 0x5A 0x58 0z00 0x07 0x00 0x00 0x00 0xB9), or I get an "Invalid Input" dialog from moserial.

    I have also tried in moserial:
    Outgoing line: 0000 005A 0058 0000 0007 0000 0000 0000 00B9 [Send] [HEX] [No end]
    Produced an 'Invalid Input!' dialog box.
    ---
    Outgoing line: 000 05A 058 000 007 000 000 000 0B9 [Send] [HEX] [No end]
    Produced an 'Invalid Input!' dialog box.
    ---
    Outgoing line: 00 5A 58 00 07 00 00 00 B9 [Send] [HEX] [No end]
    Produced an 'Invalid Input!' dialog box.

    This example of Realterm displays sent string in green with the response string in yellow.





    Any advice or suggestions of a better serial app would be appreciated.


    I'm hoping there is a better software product for this in Linux.

  2. #2
    Join Date
    Oct 2006
    Beans
    58,282

    Re: Send/receive hex to I/O board, testing Moserial unsuccessful. Realterm for linux

    Thread moved to the "MINT" forum

  3. #3
    Join Date
    Mar 2017
    Beans
    12

    Re: Send/receive hex to I/O board, testing Moserial unsuccessful. Realterm for linux

    Solved!!

    The hex string (0x00 0x5A 0x58 0z00 0x07 0x00 0x00 0x00 0xB9) in Moserial must be sent:

    005A580007000000B9 [Send] [HEX] [No end]

    It is then displayed as:
    00000000 00 5A 58 00 07 00 00 00 B9 and gets the correct reply from the I/O board.

Bookmarks

Posting Permissions

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