Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 27-05-2014, 15:38   #1
Registered User

Join Date: May 2014
Posts: 10
output gps data red lines in debug window

Hi

I am trying to output gps data and only see red lines in the NMEA debug window. Setup as follows:
  • OCPN 3.2 running on Ubuntu 13.04 - no problem there
  • Using puck gps (USB) and gpsd to receive gps data - no problem
  • Trying to output gps data to gx2150 using serial connection and Serial to USB converter cable - no problem registering port, etc, but on ly see red lines and not sure why
I'm happy with the USB to serial setup, cables from PC to gx2150, etc.


Even with everything unplugged, I still only see red lines for the serial port in the debug window. The gpsd bit is all in green, and gps data absolutely perfect.

Any help will be appreciated. I'm sure it is something quite easy...

THANKS
melvinx is offline   Reply With Quote
Old 27-05-2014, 23:52   #2
Registered User

Join Date: May 2014
Posts: 10
Re: output gps data red lines in debug window

Hi Again

Here is a screeshot to show you what I am talking about.



Quote:
Originally Posted by melvinx View Post
Hi

I am trying to output gps data and only see red lines in the NMEA debug window. Setup as follows:
  • OCPN 3.2 running on Ubuntu 13.04 - no problem there
  • Using puck gps (USB) and gpsd to receive gps data - no problem
  • Trying to output gps data to gx2150 using serial connection and Serial to USB converter cable - no problem registering port, etc, but on ly see red lines and not sure why
I'm happy with the USB to serial setup, cables from PC to gx2150, etc.


Even with everything unplugged, I still only see red lines for the serial port in the debug window. The gpsd bit is all in green, and gps data absolutely perfect.

Any help will be appreciated. I'm sure it is something quite easy...

THANKS
melvinx is offline   Reply With Quote
Old 28-05-2014, 00:04   #3
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: output gps data red lines in debug window

Please post a screenshot of the debug window and one from the communication settings you are using.

bcn
bcn is online now   Reply With Quote
Old 28-05-2014, 00:16   #4
Registered User

Join Date: May 2014
Posts: 10
Re: output gps data red lines in debug window

Hi BCN

Screenshot just waiting to be moderated...I have attached a second one of the settings.




I hope that helps
Melvin
melvinx is offline   Reply With Quote
Old 28-05-2014, 02:09   #5
Registered User

Join Date: May 2014
Posts: 10
Re: output gps data red lines in debug window

Here are the serial settings:



Cheers
Melvin
melvinx is offline   Reply With Quote
Old 28-05-2014, 06:02   #6
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: output gps data red lines in debug window

Melvin...
Now just the relevant part of the logfile (~/opencpn.log) is missing...

Pavel
nohal is offline   Reply With Quote
Old 28-05-2014, 06:10   #7
Registered User

Join Date: May 2014
Posts: 10
Re: output gps data red lines in debug window

Here is a link to the log file.

https://drive.google.com/file/d/0B5j...it?usp=sharing

I added the NMEA code to the config file, but I cannot see any useful information in the log file (I think).

Thanks
melvinx is offline   Reply With Quote
Old 28-05-2014, 10:09   #8
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: output gps data red lines in debug window

The log looks quite OK. Just to make sure - Is there something actually connected to that port? I mean not just the USB-Serial cable, but also something to communicate with at the RS-232 side. And does it work? Can you communicate with it when you use minicom or something like that?

Pavel
nohal is offline   Reply With Quote
Old 28-05-2014, 11:03   #9
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: output gps data red lines in debug window

What port is gpsd using? There is a chance it's /dev/ttyUSB2.....
Check by running
Code:
$lsof /dev/ttyUSB2
Thomas
cagney is offline   Reply With Quote
Old 28-05-2014, 11:26   #10
Registered User

Join Date: May 2014
Posts: 10
Re: output gps data red lines in debug window

Thanks Guys, I'm starting to get the picture. GPSD is definitely on ttyUSB1, so that isn't the problem. RS232 was connected to the GX2150 VHF. In theory it should all be ok, so I will double check all the cables and wiring. Earlier had the GX2150 connected to a Furuno GP32 GPS, and it received GPS signal perfectly. So the radio isn't the problem. That pretty much leaves the wiring and soldering points.

I'll redo it and test step by step and post the results here. Thanks for pointing me in the right direction so far.

Cheers
Melvin
melvinx is offline   Reply With Quote
Reply

Tags
gps, wind


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
Debug device made in NZ Uncle Bob Engines and Propulsion Systems 11 24-04-2014 20:52
VS 2012 RElease crashes, Debug works Choon OpenCPN 3 08-05-2013 18:19
DeBug vs Algae X Windjammr Spirt Engines and Propulsion Systems 8 01-01-2013 03:46
No GPS data even though data stream window ... Netsurfer OpenCPN 10 09-06-2011 04:41
I Want to Debug OpenCPN in My PC aqf OpenCPN 1 03-05-2011 07:02

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.