Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-01-2015, 09:40   #1
Registered User

Join Date: May 2012
Posts: 347
TideFinder Plugin

Something else to try! A mashup of code copied from the main program which allows the user to search for tidal data on selected dates.

BEWARE: Time zone used is the one set on your computer, not the station timezone, so check with tides from the main program for the offset, if any.

The harmonic data is the data in the main OpenCPN TCData folder.

Source Code:

https://github.com/Rasbats/TideFinder_pi

The plugin allows the user to select from one of four locations, displayed after selecting the 'Tide Finder Position' item from the right click menu. The locations are based on the position of the cursor on the chart when doing your right-click. You may need to make the text for the locations larger by using the Tools options.

Runs with later 3.3 betas and O4. NOT 3.2.2.

The compiled plugin for Windows is attached.

Please let me know of any errors.

Mike
Attached Files
File Type: pdf TideFinder_pi.dll.pdf (153.5 KB, 65 views)
__________________

__________________
Rasbats is offline   Reply With Quote
Old 13-01-2015, 02:16   #2
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,242
Re: TideFinder Plugin

Hello Mike,

I tried this morning your new plugin finder Tide.

Very good first impression. No crash. No blocking.

But after doing a test on a position, it is impossible to change position.

A feature required : On the chart displayed by the tool O, we obtain information (yellow area) about the current by moving the mouse on the curve. This is not the case on the curve obtained with the FT.

Best regards. Gilletarom.
Attached Thumbnails
Click image for larger version

Name:	2015-01-13_Graph_Tide_finder.jpg
Views:	113
Size:	118.6 KB
ID:	95440   Click image for larger version

Name:	2015-01-13_Graph_OpenCPN.jpg
Views:	106
Size:	55.3 KB
ID:	95441  

__________________

__________________
Gilletarom is offline   Reply With Quote
Old 13-01-2015, 04:05   #3
Registered User

Join Date: May 2012
Posts: 347
Re: TideFinder Plugin

Gilletarom,

Did you try right-click again in the new location? I did not want to clutter the screen by leaving a list of ports on display.

I need to take a closer look at the mouse function.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 13-01-2015, 06:21   #4
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,242
Re: TideFinder Plugin

Quote:
Originally Posted by Rasbats View Post
Gilletarom,

Did you try right-click again in the new location?

Mike
Yes, of course.

I also tried disabling the plugin then reactivated. I also tried to stop O and restarting. Nothing to do.

I just try again. O had stopped, I re-started.

The icon of the FT was still present in the icons bar. In the context menu, there is the command "Tide finder position." I clicked it. The window that indicates to right clicked opened. So I right clicked: No effect.

Here joined my log file and my ini file.

Gilletarom.
Attached Files
File Type: doc opencpn.zip.doc (27.9 KB, 19 views)
__________________
Gilletarom is offline   Reply With Quote
Old 13-01-2015, 06:43   #5
Registered User

Join Date: May 2012
Posts: 347
Re: TideFinder Plugin

Annoying. I can't reproduce this at the moment and the log does not seem to indicate a problem. Still looking.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 05-06-2015, 02:51   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,243
Re: TideFinder Plugin

Mike don't believe I saw this. Thankyou

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 22-09-2016, 08:33   #7
Registered User

Join Date: May 2012
Posts: 347
Re: TideFinder Plugin

TideFinder now updated for OpenCPN 4.2 upwards. Windows compiled release placed in the 'releases' section of GitHub.

https://github.com/Rasbats/TideFinde...eases/tag/v0.1

Sorry Gilletarom ... no work done on the moving line yet.

Only compatible with the standard OpenCPN harmonics file.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 25-09-2016, 06:15   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,243
Re: TideFinder Plugin

Mike, I downloaded the file and removed the pdf and placed the dll in my plugins folder for both 4.2 and 4.4 and it does not appear in the plugins list. Also my opencpn.log file does not show any attempt to load the dll either. Did a search on "tidefinder" no instance.

Can you rebuild it? It looks interesting.
__________________
rgleason is offline   Reply With Quote
Old 25-09-2016, 08:17   #9
Registered User

Join Date: May 2012
Posts: 347
Re: TideFinder Plugin

Rick,

Is there a typo somewhere? I have just downloaded the same file from releases(x2). Works fine on 4.2/4.4 Win 8.1/10.

4:02:09 PM: PlugInManager: Loading PlugIn: C:\Program Files\OpenCPN 4.4.0\plugins\tidefinder_pi.dll
4:02:09 PM: C:\Program Files\OpenCPN 4.4.0\plugins\tidefinder_pi.dll
API Version detected: 110
PlugIn Version detected: 1
4:02:13 PM: PlugInManager: Initializing PlugIn: C:\Program Files\OpenCPN 4.4.0\plugins\tidefinder_pi.dll
4:02:13 PM: Opencpn language reload for: en_US
4:02:13 PM: Loading catalog for: opencpn-chartdldr_pi
4:02:13 PM: Loading catalog for: opencpn-wmm_pi
4:02:13 PM: Loading catalog for: opencpn-TideFinder_pi

Mike
__________________
Rasbats is offline   Reply With Quote
Old 25-09-2016, 16:53   #10
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,243
Re: TideFinder Plugin

Mike, I am sorry. What I did was rename it "tidefinder_pi-ov4.2.dll"
What I learned was the dll is rejected because it is not in the form "_pi.dll"
So I changed it to "tidefinder-ov42_pi.dll" and it works fine!
This will be a great planning tool as well. Thank you!
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
plug

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
OpenCPN PlugIn Development bdbcat OpenCPN 70 14-03-2017 04:01
Plugin: DashBoard SethDart OpenCPN 470 24-08-2016 20:34
BSB 4 PlugIn bdbcat OpenCPN 93 20-02-2016 03:41
New History Plugin for OpenCPN boat_alexandra OpenCPN 11 04-10-2010 14:11
Writing Plugin for nv.digital Map Format ? Netsurfer OpenCPN 7 17-08-2010 16:09


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 15:48.


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.