Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-03-2020, 13:59   #1
Registered User

Join Date: Apr 2009
Location: Somewhere on the globe
Boat: Southern Cross 35
Posts: 14
Send a message via Skype™ to spirare
OpenCPN 5 does not connect to virtual COM ports

Set up:
- W10;
- GPS+AIS to PC via USB and COM4;
- Virtual COM port created with com0com (CNCA0-->COM7);
- hum4com route all COM4 to virtual COM port CNCA0 (COM7);

Device manager and OpenCPN shoes COM7 as available in the Port section.

Putty connected to COM7 shoes all the NMEA0183 sentences being transmitted and received.

Other softwares can connect to virtual COM7 and get the data ok...

BUT OpenCPN (with the correct connection parameters set) does not connect to COM7.

This need confirmation...anyone ?
__________________

__________________
Serge & Joanne
S/V SPIRARE
spirare is online now   Reply With Quote
Old 01-03-2020, 16:39   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 13,958
Re: OpenCPN 5 does not connect to virtual COM ports

Remember: You cannot have any other software using that port or it will not show up!
Perhaps that is the problem?
__________________

rgleason is offline   Reply With Quote
Old 01-03-2020, 18:20   #3
Registered User

Join Date: Apr 2009
Location: Somewhere on the globe
Boat: Southern Cross 35
Posts: 14
Send a message via Skype™ to spirare
Re: OpenCPN 5 does not connect to virtual COM ports

Good point... I made shure that it was not the case and even took the extra precautionary step to reboot W10 to test again.
spirare is online now   Reply With Quote
Old 01-03-2020, 22:24   #4
Registered User

Join Date: Apr 2009
Location: Somewhere on the globe
Boat: Southern Cross 35
Posts: 14
Send a message via Skype™ to spirare
Re: OpenCPN 5 does not connect to virtual COM ports

Good point... allow me to rephrase my last answer:

My virtual port does show up in O Communication tab.
I also made sure that nothing else is connected to it.
Even took the extra precautionary step to reboot W10 fresh and test again.
Nonetheless, O show no data flow in the NMEA debug window.
Lastly, this virtual com port works fine with other softwares (putty, Airmail...) when tested subsequently
__________________
Serge & Joanne
S/V SPIRARE
spirare is online now   Reply With Quote
Old 02-03-2020, 14:03   #5
Registered User

Join Date: Apr 2009
Location: Somewhere on the globe
Boat: Southern Cross 35
Posts: 14
Send a message via Skype™ to spirare
Re: OpenCPN 5 does not connect to virtual COM ports

Found the solution after reading this thread :OpenCPN 5 can not connect to USBserial device (virtual COM port) in Windows 10.

CTS, RTS and DRT need activation on the Virtual Port. Fortunately, com0com not only allows this makes it easy to do.

Hope this help.
Attached Thumbnails
Click image for larger version

Name:	com0com virtual port solution for O5.png
Views:	28
Size:	19.2 KB
ID:	209889  
__________________
Serge & Joanne
S/V SPIRARE
spirare is online now   Reply With Quote
Old 02-03-2020, 14:24   #6
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,796
Re: OpenCPN 5 does not connect to virtual COM ports

Quote:
Originally Posted by spirare View Post
CTS, RTS and DRT need activation on the Virtual Port.
Hope this help.

A virtual port requires to ring the bell to release/bar a buffer????
Pin X on the DB9 plug..


Does that make any sense but using some very ancient driver models?
Asking to learn...
bcn is online now   Reply With Quote
Old 02-03-2020, 18:55   #7
Moo
Registered User

Join Date: Mar 2017
Posts: 644
Re: OpenCPN 5 does not connect to virtual COM ports

Quote:
Originally Posted by bcn View Post
A virtual port requires to ring the bell to release/bar a buffer????
Pin X on the DB9 plug..


Does that make any sense but using some very ancient driver models?
Asking to learn...
Pin X? Not come across a pin x before.

Back in the days of teleprinters bell had special features and one at one stage was to signify that the carriage was at the end of line.

The bell key on the other hand was specifically for waking up/annoying the operator at the other end
__________________

Moo is online now   Reply With Quote
Reply

Tags
enc, opencpn, ports

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN 5 can not connect to USBserial device (virtual COM port) in Windows 10 ManekiNeko OpenCPN 34 27-04-2020 14:03
OpenCPN not recognising Virtual COM port LifePart2 OpenCPN 92 24-04-2014 10:08
OpenCPN does not see STM32 virtual port in MAC OSX GREENGHOST OpenCPN 9 24-02-2014 13:40
Sending Data from GPS to two Virtual Ports in Ubuntu 12.04 Sail323 OpenCPN 1 19-07-2012 12:59
Virtual OpenCPN - 'OpenCPN on a Stick' r.fairman OpenCPN 23 16-10-2011 19:51

Advertise Here


All times are GMT -7. The time now is 23:12.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.