I have been running two instances of OpenCPN
under WindowsXP. I launch the program twice, then set the windows to tile vertically. I use XPort to feed GPS
to both instances on different COM ports
. I set one of the windows to receive AIS
through another COM port, and zoom way out for a broad view of shipping
traffic on my busy river. I set the other window to zoom in so I can see detailed features on my chart as I sail.
Having both windows side-by-side is fantastic. I can go sailing and just leave OpenCPN
running without the need to touch the computer at all. There's no need to zoom in and out because I can see it all at a glance.
The only problem is that I need to manually set this up every time I launch OpenCPN. When I go to quit, OpenCPN only remembers the settings from the last window I closed. When I reopen OpenCPN, it defaults to those settings, and when I launch the second instance, I get the usual COM port error message because the second instance is trying to access the same COM port. Once I change it, everything works OK, but it is a pain having to redo the settings every time I relaunch the applications.
So here is my question: Is there a way, by manually editing the opencpn.ini file, or creating two .ini files, that I can save the settings for both instances so that the program launches (twice) with the appropriate settings (and vertical tiling) for both?
Please note that I can't just put the computer to sleep with OpenCPN running. I tried it and it does not work for mebecause the GPS
signals are coming to the computer wirelessly via Bluetooth, and once I put the machine to sleep the Bluetooth connections break and XPort and OpenCPN both need to be relaunched. So I need to be able to quit out of the applications when I'm done sailing, and relaunch everything next time I go out.