Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 No receive on real port on hub4com

closed
nobody
None
5
2009-05-08
2009-05-07
Keith McCollum
No

We've been using and experimenting with Hub4com and came to the conclusion that if you use a real com port in it, the real com port won't receive anything from the other loopback ports. Here's our setup:
Loopbacks: COM5<>COM6, COM7<>COM8, COM9<>COM10
c:>hub4com --route=all:all \\.\com1 \\.\com6 \\.\com8

If we issue the above command, com5 and com7 see everything from com1 but com1 doesn't see any input from com5 or com7.

We then tested with the following command using only virtual ports:
c:>hub4com --route=all:all \\.\com6 \\.\com8 \\.\com10
We then used Hyperterminal to test and everything worked as expected. All ports could receive data from any other port.

Is there some trick to getting a physical com port (COM1) to accept data with hub4com?

Thanks!

Discussion

  • Try to add --octs=off option before \\.\com1

     
    • status: open --> pending
     
  • Keith McCollum
    Keith McCollum
    2009-05-07

    Vfrolov,

    Using the --octs=off option worked great!

    But, we were a little confused because the initialization of hub4com showed that this was the default option: Baud=19200, bits=8, parity=n, stop=1, octs=off, odsr=off, ox=off, ix=off, idsr=off, ito=off. So it looked like this option was already set!

    Is there some additional documentation besides the readme.txt file that explains how to use the --o(????) options with hub4com?

    Thx a bunch,
    Kmscorpio

     
  • Keith McCollum
    Keith McCollum
    2009-05-07

    • status: pending --> open
     
    • status: open --> pending
     
  • > showed that this was the default option: Baud=19200, bits=8, parity=n,
    > stop=1, octs=off, odsr=off, ox=off, ix=off, idsr=off, ito=off. So it looked

    Are you sure? On my system the command line "hub4com --route=all:all \\.\com1 ..." shows:

    Open("\\.\com1", baud=19200, data=8, parity=no, stop=1, octs=on, odsr=off, ox=off, ix=off, idsr=off, ito=0) - OK

    > Is there some additional documentation besides the readme.txt file that
    > explains how to use the --o(????) options with hub4com?

    hub4com --help=serial

     
  • Keith McCollum
    Keith McCollum
    2009-05-08

    Vfrolov

    I was sure yesterday, but not today! When I restarted hub4com this morning, it showed octs=on. Also, thanks for the hub4com --help=serial tip! Everythings working great today! Thanks for all your help!

    Kmscorpio

     
  • Keith McCollum
    Keith McCollum
    2009-05-08

    • status: pending --> closed