Expedition Expedition Navigation Software

You are not logged in. Would you like to login or register?



5/23/2025 4:45 am  #1


Log sailchanges / events through DLL?

I've written a simple iphone "app" trying to sending information about what sail I'm sailing with the purpose of accessing it with my logfiles for later analysis.

The "app" sends the information to a pyhton script running on the computer, and access Expedition via the DLL. Updating simple values like BSP works perfectly, so I have the structure up and running.

However, is there a way too pass information about the sail flying? I'm thinking event, but I can't figure out how to launch an event via the DLL, is it possible? If not, are there any options I can try? 

 

5/23/2025 1:24 pm  #2


Re: Log sailchanges / events through DLL?

You could use SetExpVar to set the sail in Exp. The value to pass is the id in the database.

ExSailEvent
ExSailNow
ExSailMark
ExSailNext

 

5/24/2025 3:25 am  #3


Re: Log sailchanges / events through DLL?

Thanks Nick! I’ve tried them, but nothing seams to change in expedition, no events logged with SailEvent and ”Sail” numberbox doesn’t change with SailNow.

My sail list in expedition doesn’t seem to by in sync with the sails in my db …  could knd sailchart change the IDs in some way? I can’t see any IDs in the knd xml files.

     Thread Starter
 

5/24/2025 12:44 pm  #4


Re: Log sailchanges / events through DLL?

Yes, it doesn't set events. There is currently no way to do that with the dll.

I just realised it won't help the number boxes as Exp will immediately over-write it.

The IDs in the database are independent of the xml sail chart.

 

5/26/2025 6:27 am  #5


Re: Log sailchanges / events through DLL?

Okay thanks, I changed the approach slightly and just had the script running on the computer make a new EVENT entry in the DB instead of going through the DLL. Works fine for what I was after

     Thread Starter
 

5/30/2025 10:40 am  #6


Re: Log sailchanges / events through DLL?

Hi, I’m setting the event straight into the DB, no problem. But I would also like to update SailEvent through the DLL, I thought it might work after setting the event. But it does not … is there anything I can do to change what sail the numberbox for Event sail shows? I would like it as a reminder to know that I’ve actually made a note of the sail I’m flying.

     Thread Starter
 

5/30/2025 6:56 pm  #7


Re: Log sailchanges / events through DLL?

I might be able to add an entry in the dll.

Maybe email me.

 

Board footera

 

Powered by Boardhost. Create a Free Forum


Interested in advertising here? Over a thousand active navigators and Expedition users visit this forum. Click here to contact the administrator.