Enhance pitopi.ini sections to include point source to make them unique
The pitopi.ini file is used by the pitopi interface for collecting data from multiple sources and to save other miscellaneous settings such as 'histonly' flags. The configuration ini file uses sections to separate settings between instances with and the format is [PItoPI-<ID>] and this is not unique enough to distinguish settings between different instances that use the same instance ID but with a different point source. So when there are two instances with the same ID (regardless of the Point Source), any changes made to one instance will affect the other instance too.
Note: This was previously Enhancement 121629.
Appreciate if you can take this on priority as this causes multiple issues if have number of PI to PI instances on same machine.
David Wang commented
Add to that, for proper management where there are many pitopi interface instances, interface configuration updates should properly clear old entries. Example: if the interface ID of an instance is updated the entry in the PItoPI.ini file of the old [PItoPI-<ID>] should be removed from the file. Currently the old entry still remain.