FUDforum
My FUDforum

Home »  » DeviceMaster RTS, Pro and Serial Hub » what is wrong with serial tunneling (serial tunneling example)
what is wrong with serial tunneling [message #945] Wed, 11 April 2018 16:59 Go to next message
serial is currently offline  serial
Messages: 3
Registered: April 2018
Location: xxx
Junior Member
look at the attached file

what am I doing wrong
  • Attachment: comtrol.pdf
    (Size: 1.09MB, Downloaded 268 times)
Re: what is wrong with serial tunneling [message #946 is a reply to message #945] Wed, 11 April 2018 17:22 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 288
Registered: July 2016
Location: Minnesota
Power User
Hi,

Serial tunneling can be tricky.

If your data is coming into the DeviceMaster via serial port, and you want to send that data to another DeviceMaster's serial port, then this document would apply:

http://downloads.comtrol.com/contribs/devicemaster/help_file s/serial_tunnel_socketserver_11_and_above.pdf

I think the problem you are experiencing is you are sending the data to the DeviceMaster's (192.168.254.21) port 1 via Com Port or Socket Connection (8000). When you do this, the physical port is busy taking care of the incoming data and is 'Open". A serial port can only be open to one process at a time.

To get this to work, you will need to use a null modem cable connecting Physical Port 1 to Physical Port 2.
Physical Port 2 would then be available to do a Virtual Serial Tunnel to the other DeviceMaster.

On Physical Port 2 of 192.168.254.21, configure to send as you did in your example to 192.168.254.22. You can then attach your device to the serial port of *.22

Let me know how it goes.

A RS-232 cable can be bought or made.

See the below link on constructing a null modem serial cable:
http://downloads.comtrol.com/contribs/devicemaster/help_file s/Cable%20Guide.pdf
Page 22

Kurt





Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: what is wrong with serial tunneling [message #967 is a reply to message #945] Tue, 08 May 2018 18:39 Go to previous messageGo to next message
serial is currently offline  serial
Messages: 3
Registered: April 2018
Location: xxx
Junior Member
THIS WORKS!!!

What I was missing was that the Comtrol serial ports are DTE devices. You have to use a null modem adapter cable between the computer and the comtrol device.

You can use a straight cable from the comtrol device to the data equipment.
  • Attachment: COMTROL.pdf
    (Size: 1.04MB, Downloaded 258 times)
Re: what is wrong with serial tunneling [message #1216 is a reply to message #967] Fri, 24 April 2020 08:48 Go to previous messageGo to next message
kotifield is currently offline  kotifield
Messages: 1
Registered: April 2020
Junior Member
What I was missing was that the Comtrol serial ports are DTE devices.
Re: what is wrong with serial tunneling [message #1217 is a reply to message #1216] Fri, 24 April 2020 08:52 Go to previous message
Kurt is currently offline  Kurt
Messages: 288
Registered: July 2016
Location: Minnesota
Power User
Awesome! Thanks for getting back to me on this.
Have a good and safe weekend!

Kurt


Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Previous Topic: Communication problemes with Devicemaster
Next Topic: DeviceMaster RTS not taking config file; also PortVision config only displays Network tab
Goto Forum:
  


Current Time: Sun May 16 03:50:38 CDT 2021

Total time taken to generate the page: 0.00651 seconds