Menu

error (87)

Help
Joe Pitz
2009-08-27
2013-05-20
  • Joe Pitz

    Joe Pitz - 2009-08-27

    I am setting up the GPS example using COM6 and COM7 and using hub4com route COM5 to CNCB0 and CNCB1.  COM5 is a USB port mapped to COM5

    I am getting the following error:

    C:\Download\hub4com-2.0.0.0-386>hub4com \\.\COM5 \\.\CNCB0 \\.\CNCB1
    Open("\\.\COM5", baud=19200, data=8, parity=no, stop=1, octs=on, odsr=off, ox=of
    f, ix=off, idsr=off, ito=0) - OK
    IOCTL_SERIAL_GET_MODEM_CONTROL ERROR Unknown error (87)
    Open("\\.\CNCB0", baud=19200, data=8, parity=no, stop=1, octs=on, odsr=off, ox=o
    ff, ix=off, idsr=off, ito=0) - OK
    Open("\\.\CNCB1", baud=19200, data=8, parity=no, stop=1, octs=on, odsr=off, ox=o
    ff, ix=off, idsr=off, ito=0) - OK
    Route data COM5(0) --> CNCB0(1) CNCB1(2)
    Route data CNCB0(1) --> COM5(0)
    Route flow control COM5(0) --> CNCB0(1)
    Route flow control CNCB0(1) --> COM5(0)
    Started COM5(0)
    Started CNCB0(1)
    Started CNCB1(2)

    The virtual ports cannot read from COM5.

    Any ideas?

    Thanks

    Joe

     
  • kevin payne

    kevin payne - 2009-09-11

    Hey Joe, sorry but I'm not sure about your error.
    Actually I have a question of my own (not sure how to start a new topic).
    I've got hardware plugged into the computer's COM1.  I can send data from COM1 to another computer, but I can't send commands from the remote computer to the COM1.              
    I have virtual ports CNCA0 and CNCB0.
    I can use hub4com to send COM1 data to CNCB0.  
    I can use com2tcp to send CNCB0->CNCA0->remote computer.      The remote computer has one virtual pair: COM4 and CNCB0.   
    If I open COM4 on the remote computer, the data from the 1st computer's COM1 shows up.
    However, I cannot send a command back to COM1.
    Any ideas?

     
  • Vyacheslav Frolov

    > IOCTL_SERIAL_GET_MODEM_CONTROL ERROR Unknown error (87)

    It should not be a reason of the problem.

    If hub4com cannot read from COM5 then try to set properly parameters (default - 19200,8,N,1) for COM5 with options -baud, -data, -parity and -stop.
    If above does not help then try with -ix=on option.

    If hub4com cannot write to COM5 then try with -octs=off option

     

Log in to post a comment.