Arduino drive confi…
 
Powiadomienia
Wyczyść wszystko

Arduino drive configuration SideOfPier


(@dwarf)
Active Member
Połączone: 1 rok temu
Wpisy: 5
Rozpoczynający temat  

I want to ask about driver configuration dialog, page „Telescope” – there is group box with lebel SideOfPier choices, this one:

image

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



   
Cytat
(@admin)
Członek Admin
Połączone: 2 lata temu
Wpisy: 81
 

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.



   
OdpowiedzCytat
(@dwarf)
Active Member
Połączone: 1 rok temu
Wpisy: 5
Rozpoczynający temat  

@admin OK, clear, I understand this the same way. But what exactly happens if will be no checkbox checked? Such state is possible.


Ten wpis został zmodyfikowany 3 tygodnie temu 2 razy przez admin

   
OdpowiedzCytat
(@admin)
Członek Admin
Połączone: 2 lata temu
Wpisy: 81
 

Side of pier will be calculated by driver.

image

Ten wpis został zmodyfikowany 3 tygodnie temu przez admin

   
OdpowiedzCytat
(@dwarf)
Active Member
Połączone: 1 rok temu
Wpisy: 5
Rozpoczynający temat  

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?



   
OdpowiedzCytat
(@admin)
Członek Admin
Połączone: 2 lata temu
Wpisy: 81
 

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.



   
OdpowiedzCytat
Udostępnij: