Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-05-2014, 02:42   #16
Registered User

Join Date: May 2012
Posts: 408
Re: Tides and Currents

everheugd ... I think the V8 harmonics may be causing the problem. Could you remove V8 for a short time? If you could try again with the harmonics from the standard OpenCPN version that would be useful. I would like to nail this one.

Thanks.

Mike
__________________

__________________
Rasbats is offline   Reply With Quote
Old 12-05-2014, 02:54   #17
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Cowes (Winter), Baltic (Summer) (the boat!); somewhere in the air (me!)
Boat: Cutter-Rigged Moody 54
Posts: 19,752
Re: Tides and Currents

If anyone is interested in a layman user's perspectives on tides and currents and how they function:

1. The way NOT to do it is like in INavX -- tide and current diamonds which simply take you to the AyeTides (paid) site, where you have to put in the port name manually. Ick!

2. The best implementation of tides and currents I have ever seen is in my Zeus Touch MFD (this is NOT in the non-Touch Zeus). I guess it would be the same in the Simrad NSS. You don't have to click on the diamonds -- you see the currents and tides dynamically in the chart. So for tides you see, for example, 3.6 meters with and arrow up or down, showing whether the tide is rising or falling. The currents show a directional arrow with the speed of the current. This is really great.
__________________

__________________
Dockhead is offline   Reply With Quote
Old 12-05-2014, 03:08   #18
Registered User

Join Date: Jun 2013
Posts: 9
Re: Tides and Currents

Yes, that's it!! I didn't remove the V-8 harmonics, but placed the standard harmonics files back in the tcdata map.

And now everything works fine: the tidal control window is now as in the portable OpenCPN version, I get much more arrows with the correct tidal data, and the V-8 harmonics are working as well.

I agree with you, Rasbats, that the VMH tidal information is much more useful then the V-8 data concerning currents (so I am going to register), but I like to have the tidal heights for the main ports as well.

Thank you all very much for contributing to solve my problems
__________________
everheugd is offline   Reply With Quote
Old 12-05-2014, 03:45   #19
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: Tides and Currents

Hello Mike

Quote:
Originally Posted by Rasbats View Post

Gilletarom ... Only just seen your guide to moving the VMH plugin to a standard distribution of OpenCPN. Great work. Perhaps you could add a caution about using harmonic V8 with tcurrent.

Mike
1° Done.

2° No pot file for TCurrent plugin ?

3° What about tcurrent_helper_pi

Gilletarom
__________________
Gilletarom is offline   Reply With Quote
Old 12-05-2014, 04:07   #20
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: Tides and Currents

hello Mike,

If I understand correctly, the standalone version rewritten opencpn.ini file when it shutdown. But the "standard" version of the OpenCPN also re-written when it shutdown. And it is the same opencpn.ini file.

In my opinion this is confrontational.
__________________
Gilletarom is offline   Reply With Quote
Old 12-05-2014, 10:45   #21
Registered User

Join Date: May 2012
Posts: 408
Re: Tides and Currents

Gilletarom ...

Thanks for the push! The pot file is now on GitHub.

It may take some time to recompile for VisitMyHarbour.

tcurrent_helper_pi is a work in progress. It is trying to separate the UKHO tidal data from the plugin in a similar way to the S63 plugin.

How to avoid the opencpn.ini issue? I think any plugin will write some data into that file, even if it is only the name? And people may have multiple installations of OpenCPN. Setting up preferences without access to an ini file makes more work for the user. Suggestions?

Cordialement
Mike
__________________
Rasbats is offline   Reply With Quote
Old 12-05-2014, 16:03   #22
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: Tides and Currents

Hello Mike,

Quote:
Originally Posted by Rasbats View Post
Gilletarom ...

How to avoid the opencpn.ini issue? I think any plugin will write some data into that file, even if it is only the name? And people may have multiple installations of OpenCPN. Setting up preferences without access to an ini file makes more work for the user. Suggestions?

Cordialement
Mike
It seems to me that you did not understand the fact that there is only one opencpn.ini file. Correct me if I'm wrong.

Suppose you have two instances OpenCPN which runs at the same time. When you stop one of them, it completely rewrites the ini file with settings. When you exit the second instance, it also rewrites its settings in the ini file. And if they do not have the same settings, the settings of the second overwrite the first. When you restart O, what are the settings of the last instance that you stopped serving. That is why we must avoid two simultaneous instances of OpenCPN.

By cons, you do not have this problem if one of the instances takes place on USB key (portable version) and if the other instance is on the hard drive. In this case, there is an ini file on the hard drive and an other ini file on the USB key.

Finally, it seems to me that the latest beta of OpenCPN, it is no longer possible to have two concurrent instances launched on the hard disk. There was a whole series of posts in a thread on this topic in the cruisers forum. And Dave was very clear about this.

Best regards. Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 13-05-2014, 04:09   #23
Registered User

Join Date: May 2012
Posts: 408
Re: Tides and Currents

Hello Gilletarom,

The VisitMyHarbour portable version of OpenCPN should be started directly from the file 'Start portable OpenCPN compiled.exe' in the folder ("OpenCPN-standalone-32bit") on the hard drive or the '.bat' file. This is explained in the user guide.

Or O can be started from a shortcut made to the file 'Start portable OpenCPN compiled.exe' (or the '.bat' file). If O is started from this '.exe' the 'opencpn.ini' in the folder "OpenCPN-standalone-32bit" is modified and the programdata opencpn.ini file is not touched.

Using the hard drive it is only if a user starts O using the file 'OpenCPN.exe' in the VMH folder that the main ini file is edited. Tempting because it opens up more information, such as tidal data!

I will explore the reason for the lack of icons in the VMH portable version.

Best regards,
Mike
__________________
Rasbats is offline   Reply With Quote
Old 13-05-2014, 14:20   #24
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: Tides and Currents

hello mike,

Quote:
Originally Posted by Rasbats View Post
Hello Gilletarom,

The VisitMyHarbour portable version of OpenCPN should be started directly from the file 'Start portable OpenCPN compiled.exe' in the folder ("OpenCPN-standalone-32bit") on the hard drive or the '.bat' file. This is explained in the user guide.

Or O can be started from a shortcut made to the file 'Start portable OpenCPN compiled.exe' (or the '.bat' file). If O is started from this '.exe' the 'opencpn.ini' in the folder "OpenCPN-standalone-32bit" is modified and the programdata opencpn.ini file is not touched.

Best regards,
Mike
So I plead guilty. I have not done enough testing. I had from the beginning to install your plugin in the version on my PC hard drive.

I must still corrects my tutorial. It will not be done before this weekend because I'm going to sea for a few days.

I already downloaded the pot file. I will do the translation this weekend too.

B. R. Gilletarom
__________________

__________________
Gilletarom is offline   Reply With Quote
Reply

Tags
current

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
Tides and currents. Kalinka1 OpenCPN 1 16-08-2012 12:05
OpenCPN Tides and Currents Playtime OpenCPN 7 27-01-2012 10:24
Dogs, Currents and Tides JanetGroene Families, Kids and Pets Afloat 8 07-03-2011 04:14
Tides and Currents janp391 OpenCPN 8 12-11-2009 00:48
2009 tides and currents - Maptech OSN? jackdale Navigation 16 25-01-2009 21:53



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.