fdhwlib
2.0.25
|
The Pbus connection via pbusdaemon, allows a flexible access to the FD Electronic accross different machines and plattforms.
At the same time the pbusdaemon serves as proxy for the electronic. This can be used for example for example for MS Windows where it is not possible to share the access to the Electronic between two processes.
From the calling program the Pbus library looks the same like the standard one. There are additional commands and parameters in the inifile to select the machine to connect to (called telescope in this context). The IP library connects to PBUS_IP_MAX telescopes at the same time where always one is active. All Pbus access will be performed with this active telescope. With the commands Pbus::selectTelescope and Pbus::getTelescope it is possible to select the active one.
Inifile parameter:
[PbusProxy] ; Los Leones Telescopes in Bay 4-6 mirrorIP3 = 10.0.1.4 port3 = 5551 mirrorIP4 = 10.0.1.5 port4 = 5551 mirrorIP5 = 10.0.1.6 port5 = 5551