Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-09-2019, 09:23   #1
Registered User
 
JohnGC's Avatar

Join Date: Mar 2018
Location: SW UK
Boat: ETAP32s
Posts: 28
Windows 10 NMEA/VCP problem.

Hello,

I have a problem with my OpenCPN coms and I'm looking for some help in understanding it.

I run OpenCPN V5 on a Windows 10 NUC.
https://www.asrock.com/nettop/Intel/...ries/index.asp

The PC receives NMEA data via a virtual coms port from a multiplexer of my own design. The mutiplexer converts SeaTalk1 data to NMEA equivalents, combines it with GPS & AIS sentences and sends them all to the VCP.

(The micro-controller in my multiplexer is an Atmel AVR and uses the signed VCP driver available from Microsoft Update. OpenCPN is set to use the VCP at 57600 baud.)

The PC's BIOS is set to start as soon as power is applied and OpenCPN starts as soon as Windows has loaded (there's a short-cut in the start-up folder). IE it's a "turn-key" system.

The problem;

On power-up and programme start, about 1 time in 4, the coms doesn't initialise.

OpenCPN doesn't receive any NMEA data and the NMEA debug window is blank.

Closing OpenCPN and restarting it never fixes the problem.

Restarting the PC will fix the problem with about the same 1 in 4 chance.

Closing OpenCPN, opening the VCP with a terminal emulator shows that the NMEA data is present as expected. Closing the terminal emulator and restarting OpenCPN always fixes the problem.

Opening the terminal emulator without closing OpenCPN results in a coms port in use error. This suggests OpenCPN has the VCP opened but isn't receiving, reading or displaying the data.

The problem my be entirely with my own multiplexer but it seems more likely to be an odd interaction between the VCP and OpenCPN (because OpenCPN has opened the VCP). I will try adding a 60s delay to OpenCPN start-up in case the VCP isn't fully initialised when OpenCPN opens it.

I have attached two OpenCPN log extracts showing two start-ups a few minutes apart, one good and one bad. I'd be grateful if someone with the knowledge to interpret the logs could give me some insight.

Thanks,

John
Attached Files
File Type: pdf opencpn bad.pdf (9.3 KB, 6 views)
File Type: pdf opencpn good.pdf (12.9 KB, 3 views)
JohnGC is offline   Reply With Quote
Reply

Tags
nmea, wind

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
NMEA TCP output on Windows 10 jeffblackb OpenCPN 13 10-07-2016 03:07
Windows 4 stable and Windows Beta svzephyr44 OpenCPN 0 29-09-2015 10:46
Multiplexing NMEA on a router (NMEA over WiFi redux) Mollymawk Marine Electronics 16 21-10-2014 05:18
Muxing NMEA data over IP WiFi on Windows Peter McNamara OpenCPN 5 06-10-2014 05:52
Raytech RNS and Windows 7 and Windows XP kene66 Marine Electronics 2 23-02-2010 15:50

Advertise Here


All times are GMT -7. The time now is 14:57.


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.