I want to ask about driver configuration dialog, page „Telescope” – there is group box with lebel SideOfPier choices, this one:
Option „”Invers SideofPier” is clear, but it is possible select multiple of first 3 options. What means, if I select/check more than 1 option e.g. „Use from scope” and „Calculate” together. What is the logic, is defined some priority or what happens, where will be SideOfPier taken from?
Thank you
Richard
Selecting multiple data source options for the telescope’s SideOfPier makes no sense. Only one will ever work.
Of course, you can always use Invers the PierSide value.
If My.Settings.Def_SideOfPier_Use, My.Settings.Def_SideOfPier_Calculate and My.Settings.Def_SideOfPier_From_Diagram are boolean values, corresponding to that three checkboxes in configuration, then if all three of them are set to false, SideOfPier_Calculate will be always left with value PierSide.pierUnknown (depends of course on what will inverse do with that value) and that value will be returned according attached code snippet. That applies, if there is not additional logic of course…
Am I right?
This procedure will either retrieve the pierSide value from the telescope or calculate it itself. This is also the case when no option is selected.


