Cruisers Forum
 


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 19-08-2020, 16:27   #1366
mgh
Registered User

Join Date: Feb 2015
Location: Northeast USA
Boat: Swan 38
Posts: 50
Re: WeatherFax ...

Has anyone been able to use a pactor modem (usb) to connect to the weatherfax plugin directly? It seems the only capture source is direct audio, and wondering if anyone has a workaround (or perhaps I am missing something). Setup is icom 802, to pactor II-Usb, to windows laptop win10 via usb.
mgh is offline   Reply With Quote
Old 19-08-2020, 17:43   #1367
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

I believe that the plugin rtldsr_pi was used to make a connection to weatherfax. This is a selection in the dropdown if it is installed (I believe). I have not tested this system, but Sean used it extensively to get weather reports as he sailed round the world. I do not know if it can be direct connected to Icom, etc. That would be a good improvement. PR's will be accepted.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (908).png
Views:	50
Size:	33.6 KB
ID:	221642  
rgleason is offline   Reply With Quote
Old 20-08-2020, 08:01   #1368
Registered User
 
vagspel's Avatar

Join Date: Aug 2011
Location: Grötö
Posts: 29
Send a message via Skype™ to vagspel
Re: WeatherFax ...

mgh,
Could you check one thing?
If I use Airmail and try to get fax via Pactor it works.
My question is can you check if the display on Pactor changes to FAX.
Can you do the same using OpenCPN.
I cannot check this right now as my system is on its way to a new boat :-)
73 de SA6BQZ Gunnar
vagspel is offline   Reply With Quote
Old 20-08-2020, 10:35   #1369
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

This is useful. When you learn more about what is possible, it would be very helpful to confirm and describe the process. We will then enter it into the wiki for the plugin. If there is something more needed, perhaps you can explain in detail. Sean has said that if someone gives him a Ham Radio receiver he will make the necessary changes, but he has been using RTLSDR all this time and no one has sent him a radio. Thankyou



Quote:
Originally Posted by vagspel View Post
mgh,
Could you check one thing?
If I use Airmail and try to get fax via Pactor it works.
My question is can you check if the display on Pactor changes to FAX.
Can you do the same using OpenCPN.
I cannot check this right now as my system is on its way to a new boat :-)
73 de SA6BQZ Gunnar
rgleason is offline   Reply With Quote
Old 20-08-2020, 12:00   #1370
mgh
Registered User

Join Date: Feb 2015
Location: Northeast USA
Boat: Swan 38
Posts: 50
Re: WeatherFax ...

vagspel, I can confirm that for Airmail, the fax LED does come on (and weatherfax reception works fine).



No luck getting opencpn weatherfax to work directly with pactor, even with rtlsdr-pi installed and enabled. I suspect it should be possible, but well beyond my skills. In any case, thanks for the suggestion rgleason. Pity, but it was worth a try.
mgh is offline   Reply With Quote
Old 20-08-2020, 12:44   #1371
Registered User
 
vagspel's Avatar

Join Date: Aug 2011
Location: Grötö
Posts: 29
Send a message via Skype™ to vagspel
Re: WeatherFax ...

This is something for Sean to have a look at when he has the time.
vagspel is offline   Reply With Quote
Old 20-08-2020, 18:10   #1372
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

Quote:
Originally Posted by mgh View Post
vagspel, I can confirm that for Airmail, the fax LED does come on (and weatherfax reception works fine).

No luck getting opencpn weatherfax to work directly with pactor, even with rtlsdr-pi installed and enabled. I suspect it should be possible, but well beyond my skills. In any case, thanks for the suggestion rgleason. Pity, but it was worth a try.

Sorry about that, but I don't have the equipment or the programming skills, so we need Sean or a clever programmer to do this.


However, it should be recorded in Tracker, under new features for Weatherfax. Would you mind if this has already been done?

Tracker is in the top menu of opencpn.org. You have to register if you need to add this feature to the list for weatherfax.
rgleason is offline   Reply With Quote
Old 21-08-2020, 09:05   #1373
Registered User

Join Date: May 2012
Posts: 1,207
Re: WeatherFax ...

Fresh install of OpenCPN 5.2, Win 8.1. WeatherFax_pi 1.9.13.0.

WeatherFax produces a jigsaw icon in the list of plugins and does not run. The reason may be linked with issues I had with PhotoLayer. This is based heavily on WeatherFax.

For PhotoLayer and Windows I needed to change '#include <math.h>' and 'std::isnan' to '#include <cmath>' and just 'isnan'.

With this change the Ubuntu 14.04 (trusty) version of PhotoLayer failed to compile. An Internet search showed a bug for the compiler. The plugin manager (PhotoLayer) will use version 3.1.27 for Win and 3.1.21 for other OS.

Mike
Rasbats is offline   Reply With Quote
Old 21-08-2020, 10:59   #1374
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

Quote:
Originally Posted by Rasbats View Post
Fresh install of OpenCPN 5.2, Win 8.1. WeatherFax_pi 1.9.13.0.

WeatherFax produces a jigsaw icon in the list of plugins and does not run. The reason may be linked with issues I had with PhotoLayer. This is based heavily on WeatherFax.

For PhotoLayer and Windows I needed to change '#include <math.h>' and 'std::isnan' to '#include <cmath>' and just 'isnan'.

With this change the Ubuntu 14.04 (trusty) version of PhotoLayer failed to compile. An Internet search showed a bug for the compiler. The plugin manager (PhotoLayer) will use version 3.1.27 for Win and 3.1.21 for other OS.

Mike

Thanks Mike, I need to update frontend2 to be current. Weatherfax 1.9.13.0 is working ok for windows, I just checked. I guess these failures are for linux? Its the first I've heard of it. Thanks!
rgleason is offline   Reply With Quote
Old 22-08-2020, 13:57   #1375
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

Mike, using notepad++ Search "find in file" which is great, I get this


Quote:
Search "#include <math.h>" (11 hits in 10 files of 168 searched)
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\A boutDialog.cpp (1 hit)
Line 31: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\F axDecoder.cpp (1 hit)
Line 34: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\alac\ag_dec.c (1 hit)
Line 33: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\alac\ag_enc.c (1 hit)
Line 34: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\debug.cpp (1 hit)
Line 33: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\extended.c (1 hit)
Line 55: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\modules\PCM.cpp (1 hit)
Line 30: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\WAVE.cpp (1 hit)
Line 34: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\p lugingl\linmath.h (1 hit)
Line 4: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\w ximgkap.cpp (2 hits)
Line 30: #include <math.h>
Line 35: #include <math.h>
Search "opencpn_plugin" (4 hits in 2 files of 168 searched)


Search "std::isnan" (0 hits in 0 files of 168 searched)
So there is no std::isnan problem, but should I reallly just change math.h to cmath ?
Will I need some new files from somewhere?
rgleason is offline   Reply With Quote
Old 22-08-2020, 14:38   #1376
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

Changed <math.h> to <cmath> with 11hits in 10 files after checking 168 files.


Quote:
Search "#include <math.h>" (11 hits in 10 files of 168 searched)
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\A boutDialog.cpp (1 hit)
Line 31: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\F axDecoder.cpp (1 hit)
Line 34: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\alac\ag_dec.c (1 hit)
Line 33: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\alac\ag_enc.c (1 hit)
Line 34: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\debug.cpp (1 hit)
Line 33: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\extended.c (1 hit)
Line 55: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\modules\PCM.cpp (1 hit)
Line 30: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\l ibaudiofile\WAVE.cpp (1 hit)
Line 34: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\p lugingl\linmath.h (1 hit)
Line 4: #include <math.h>
C:\Users\Rick\Documents\GitHub\weatherfax_pi\src\w ximgkap.cpp (2 hits)
Line 30: #include <math.h>
Line 35: #include <math.h>
rgleason is offline   Reply With Quote
Old 22-08-2020, 14:49   #1377
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

Mike, that is not working. Everthing fails with
[QUOTEo -c /ci-source/src/libaudiofile/extended.c /ci-source/src/libaudiofile/extended.c:55:10: fatal error: cmath: No such file or directory #include <cmath>[/QUOTE]
https://github.com/rgleason/weatherfax_pi

Using <cmath> in lieu of <math.h> does not seem to work. See Microsoft cmath

I can't find what is missing, some file or set of files?

It is not clear to me why this is not working so I am going to have to revert these changes.
rgleason is offline   Reply With Quote
Old 22-08-2020, 15:33   #1378
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

Revert to math.h is building here I had to updated fe2 anyway, so this has not really been a bother. I think it wants to be math.h for this plugin.
rgleason is offline   Reply With Quote
Old 22-08-2020, 17:22   #1379
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,636
Images: 2
Re: WeatherFax ...

Tested updated weatherfax v1.9.13.3 in windows and ubuntu bionic, both worked well using Import Plugin and Opencpn5.2. Ubuntu bionic Preferences shows selection for "rtlsdr" and "audio" capture. Windows shows just "audio". The reason for the difference is Ubuntu is all setup already for rtlsdr and windows isn't and needs the plugin rtlsdr. BTW the icons work ok, not perfect, but no puzzles.

My impression, Ubuntu is very smooth and nice graphically, but a little slow opening things, with just 2mb of memory. I think O works better in ubuntu than windows.

Will increment version and make PR to master catalog. Then later try to get rtlsdr working with the new frontend.
rgleason is offline   Reply With Quote
Old 23-08-2020, 00:50   #1380
Registered User

Join Date: May 2012
Posts: 1,207
Re: WeatherFax ...

Rick...
Perhaps my problem with PhotoLayer came from somewhere else. Now sorted for Windows, I hope.
Mike
Rasbats is offline   Reply With Quote
Reply

Tags
paracelle


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 07:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 20:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 21:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 14:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 13:28

Advertise Here


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


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.