Author Topic: Second PI instance doesn't use preferences?  (Read 3587 times)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Second PI instance doesn't use preferences?
« on: 2009 February 21 18:29:19 »
Hi,

I had to start a second PI interface because the first one didn't want to show the DBE process properly. Just a bar with a few pixels below it that could not be expanded to become the full dialog. This happened before but I hadn't seen it in a while. Anyway, I didn't want to restart PI as that would blow away all my history so I started a second instance as I was experimenting with a new image. To my surprise the second instance had all the UI bells and whistles re-enabled and other preferences were reset as well. Is that on purpose? I hope not :)
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Second PI instance doesn't use preferences?
« Reply #1 on: 2009 February 23 03:50:11 »
Hi Sander,

Each instance has its own private settings, including all user preferences.

It is very easy to copy your preferences for instance #0 to other instances. Do the following:

- Locate your PixInsight settings file. On Windows XP:

%APPDATA%\Pleiades\PixInsight.ini

The %APPDATA% path is usually "C:\Documents and Settings\<user_name>\Application Data".

- Open the INI file on any plain text editor. Locate the block of settings for each instance. A block of settings begins with a [nnn] tag. For example, the block for the first instance starts with [000], the second one with [001], etc.

- Copy the first block (which begins with [000]) and paste it to replace the second block (which must begin with [001], so don't replace the initial tag). Do the following with the rest of instances, if there are more. Note that you can also create settings blocks for new instances, even if they haven't been executed yet.

Save the file and start two instances of PixInsight. Your second instance will have now the same settings as the first instance.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Second PI instance doesn't use preferences?
« Reply #2 on: 2009 February 23 05:44:03 »
Please add an option to have multiple instances use the same options. I mean I realize PI is quirky and likes to find its own way down paths traveled many times before but this is completely unexpected :)
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity