Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 13-02-2013, 15:49   #46
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,903
Re: WeatherFax...

Those interested in testing this new functionality on Windows, download the attached file, remove the .doc extension and copy to the plugins folder in your OpenCPN installation.
OpenCPN 3.1.x needed.
I patched the code to build successfully, so all the functionality should be there.

Pavel
Attached Files
File Type: doc weatherfax_pi.dll.doc (168.0 KB, 87 views)
__________________

__________________
nohal is offline   Reply With Quote
Old 13-02-2013, 18:05   #47
LJH
Registered User

Join Date: Mar 2012
Location: Nova Scotia
Boat: Wauquiez Centurion 42
Posts: 271
Re: WeatherFax...

Quote:
Originally Posted by nohal View Post
Those interested in testing this new functionality on Windows, download the attached file, remove the .doc extension and copy to the plugins folder in your OpenCPN installation.
OpenCPN 3.1.x needed.
I patched the code to build successfully, so all the functionality should be there.

Pavel
Win 7 SP1 (64bit)
OpenCPN 3.1.1328
I enabled the plug in with the default preferences.
Selected new fax file (chose a fax from Boston that was stored as a tiff)
when I set the coordinates there was no mark on the fax to show where I had set the coordinates.
After selecting OK the fax was not visible, I could not change the scale or move the OpenCPN chart.
Deleting the fax from the popup window had no effect and I had to shut down OpenCPN to reset it.
__________________

__________________
LJH is offline   Reply With Quote
Old 14-02-2013, 00:30   #48
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,512
Re: WeatherFax...

Quote:
Originally Posted by LJH View Post
Win 7 SP1 (64bit)
OpenCPN 3.1.1328
I enabled the plug in with the default preferences.
Selected new fax file (chose a fax from Boston that was stored as a tiff)
when I set the coordinates there was no mark on the fax to show where I had set the coordinates.
After selecting OK the fax was not visible, I could not change the scale or move the OpenCPN chart.
Deleting the fax from the popup window had no effect and I had to shut down OpenCPN to reset it.
So, once you entered the coordinates and selected ok, it basically locked up opencpn.
The image remained in the list of the popup window, or opencpn remained locked up?

Are you using opengl mode (in settings) ?
__________________
boat_alexandra is offline   Reply With Quote
Old 14-02-2013, 01:43   #49
LJH
Registered User

Join Date: Mar 2012
Location: Nova Scotia
Boat: Wauquiez Centurion 42
Posts: 271
Re: WeatherFax...

Yes,
I have the Use Accelerated Graphics (OpenGL) selected.
The image remained in the popup window list and OpenCPN remained locked up.
__________________
LJH is offline   Reply With Quote
Old 14-02-2013, 02:20   #50
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Dear boat alexandra,

Downloaded the dll and used it in Opencpn 3.1.1405, OS is Win7. Click on Weatherfax image, popup, select New, browse to fax folder, select fax, New Window pops up which is independent and can be maximized, set two lat long points fine. Pick "OK", Fax window drops leaving the first popup, but nothing happens to the Opencpn chart screen. Can still move transparency and highlight the file name of the fax and hit Edit and set the two points again, but there is something wrong because when I drag the first popup window with "new, edit, delete" it duplicates, and if I have another program up (browser, email etc) the Opencpn Chart window starts showing a portion of that program where the chart is supposed to be. I've done this with OpenGL on and off.

The path name for fax folder was not accepted which may give you a clue.
Is there a way to run the plugin in debug mode? I could try that.

I used Pavel's dll let me know when I should update by "git" please.
Notice you have a Bristol 27 all the way over in New Zealand! Great boat, great country.
Rick
__________________
rgleason is offline   Reply With Quote
Old 14-02-2013, 02:25   #51
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,512
Re: WeatherFax...

Quote:
Originally Posted by LJH View Post
Yes,
I have the Use Accelerated Graphics (OpenGL) selected.
The image remained in the popup window list and OpenCPN remained locked up.
Can you try without opengl. Also. Is there any way possible you can use the debugger and find which line of code it has locked up on?
__________________
boat_alexandra is offline   Reply With Quote
Old 14-02-2013, 06:13   #52
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Deleted opencpn-git/plugins/weatherfax_pi directory

In Cmd prompt went to opencpn-git/plugins directory

Executed git clone git://github.com/seandepagnier/weatherfax_pi.git ---100%

Then cd .. up to opencpn-git directory

Then cd build down into opencpn-git/build directory

Then cmake .. which executes ***building weatherfax_pi writing spec, config done, generating done, build files have been written to opnecpn-git/build and
under opencpn-git/build/plugins we find a new weatherfax_pi directory.

Then cmake[space]--build[space].[period]
Lots of messages while compiling
Warning C4996: std::_Transform1 -lots of these associated with weatherfax_pi.vcxproj

at bottom:

weatherfax_pi/src/FaxDecoder.cpp(248): error C2057: expected constant expression ...weatherfax_pi.vcxproj (wf_pi.vcxproj

weatherfax_pi/src/FaxDecoder.cpp(248): error C2466 cannot allocate an array of constant size 0 ...wf_pi.vcx.proj

weatherfax_pi/src/FaxDecoder.cpp(248): error C2133 'phasingPos' : unknown size ......wf_pi.vcx.proj

223 warnings
3 errors
__________________
rgleason is offline   Reply With Quote
Old 14-02-2013, 06:25   #53
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Ran MS VC++ 2010 Express and with Release and Win32 selected
picked Debug > Build

See output files attached.

C:\Data-Dart...Navigation\opencpn-git\build\plugins\weatherfax_pi\Release
still has old weatherfax_pi.dll dated from yesterday, so it did not complete.

Don't know how to configure a plugin to run in Debug mode, would like some instructions, but first I think we need to compile it. Should I comment out libaudio in cmake to start?

Also please do upload or send an audio file I will try it.
Attached Files
File Type: doc WF-outputA.doc (16.6 KB, 38 views)
File Type: doc WF-outputB.doc (23.5 KB, 49 views)
__________________
rgleason is offline   Reply With Quote
Old 14-02-2013, 06:35   #54
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Pavel, intended to thank you for your assistance to Sean earlier.
__________________
rgleason is offline   Reply With Quote
Old 14-02-2013, 06:45   #55
Senior Cruiser
 
sailorF54's Avatar

Cruisers Forum Supporter

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 772
Re: WeatherFax...

Using W7
Opengl: I only get the weatherfax pic (.tif downloaded with Airmail/viewfax) when selecting 'inverted'
Legacy display: fine without inverting
(see pics)

Request: being able to specify a lat/long template instead of using the calibrating procedure.

Re: UK weatherfaxes (downloaded with i.e. Airmail/viewfax) They use a polar stereographic projection, and I have little hope they can be displayed with OpenCpn.

Many thanks, Pavel...
Attached Thumbnails
Click image for larger version

Name:	Image004.jpg
Views:	111
Size:	273.2 KB
ID:	54743   Click image for larger version

Name:	Image005.jpg
Views:	109
Size:	240.5 KB
ID:	54744  

__________________
sailorF54 is offline   Reply With Quote
Old 14-02-2013, 09:27   #56
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

sailor54 What version of Opencpn? Did you use Pavel's dll?
How did you get it working? Mine hangs up using Pavel's dll and when I compile new git version with all libaudio it does not yet finish compiling. Some more specifics would be helpful.

I've been trying gif files. Maybe I should be trying tiff etc.
__________________
rgleason is offline   Reply With Quote
Old 14-02-2013, 10:15   #57
Senior Cruiser
 
sailorF54's Avatar

Cruisers Forum Supporter

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 772
Re: WeatherFax...

Quote:
Originally Posted by rgleason View Post
sailor54 What version of Opencpn?
3.1.1411 (W7 - 32 bits)
Did you use Pavel's dll?
Yes
How did you get it working?
Using .tif pics downloaded with airmail/viewfax
(attached file, delete .doc)

Coordinates
64( = N) -98( = W)
14( = N) 10( = E)



Mine hangs up using Pavel's dll and when I compile new git version with all libaudio it does not yet finish compiling. Some more specifics would be helpful.

I've been trying gif files. Maybe I should be trying tiff etc.
.....................
Attached Files
File Type: doc PWAM99.TIFF.doc (14.6 KB, 37 views)
__________________
sailorF54 is offline   Reply With Quote
Old 14-02-2013, 10:45   #58
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,125
Re: WeatherFax...

Kubuntu 64 bit 12.10
I compiled my own. No problems.
All proceeds well until it's time to actually display the fax. This is what I get.
Click image for larger version

Name:	FaX1.png
Views:	157
Size:	143.9 KB
ID:	54758

??

I tried to turn of OpenGL. not surprisingly the app crashed.

Thomas
__________________
cagney is offline   Reply With Quote
Old 14-02-2013, 11:00   #59
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: WeatherFax...

Thank you sailor54. Downloaded pwam99.tif put in FaxWx directory.
In OpenCpn 3.1.1405 using weatherfax_pi.dll plugin compiled by Pavel.
Was able to open Weatherfax icon, browse to FaxWx directory, could not see tiff file until I selected "all files". Might want to add "*.tiff" to supported image files. Then changed file to "*.tif" and it shows up under suppported image files.

Set Coordinates view. Picked "Set Coordinates" Hit ok.
Picked 30n 90w enter 30 then -90
Picked 60n 0 enter 60 then 0
Then OK fax coord entry window goes away
Leaves Weather Fax popup window showing the file highlighted.
Now the Opencpn chart area screen is getting corrupted by other stuff.
I close the Weather Fax popup and it goes away, the fax does not come up in Opencpn which I think is supposed to happen, and the corruption of the chart window continues. I havve to shut down Opencpn now.

Here is a view of Opencpn

I've turned off OpenGL and also have tried it when on.

This is a Dell XPS15 Laptop with Nvidia Geforce GT 540M
Attached Thumbnails
Click image for larger version

Name:	weatherfax-opencpn-chartwindow-corruption.jpg
Views:	95
Size:	413.5 KB
ID:	54760  
__________________
rgleason is offline   Reply With Quote
Old 14-02-2013, 14:14   #60
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 385
Re: WeatherFax...

I cloned Nohal's weatherfax_pi.git with his windows fixes. With one small change it compiled and ran OK. PCM.cpp lines 42,43,44,45 change "isnan" to "_isnan".

1. Testing with noaa gifs, a large file will cause an error at weatherfax_pi.cpp line 246. If the file is cropped to about 1200X750 it works fine.

2. Using OpenGL I also noted that the image must be inverted to display.

This project has really begun well. Thanks.

Chuck
__________________

__________________
ChuckSK is online now   Reply With Quote
Reply

Tags
paracelle

Thread Tools
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
For Sale: SSB, Tuner, Amp, WeatherFax Palarran Classifieds Archive 7 19-03-2011 08:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 21:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 22:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 15:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 14:28


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:15.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.