Sunday, January 30, 2022

Now Polypus2 supports scripts

 Whit the version 2.02 the script support is introduced. 

Script support is finalized to a full automatic observation session even without people in the observatory

The first change you can find is in the menu. Now an additional ribbon menu named "Automatic" allows you to select and edit three different task script. One for each specific purpose.

Observation task script: where you can put all the observation activities

Time task script: where you can put activites you needs where a defined time (e.g decondense)

Closure task script: where you can put activities for observatory closure and final activities like fla, dark


Second big change is a specifi page able to edit and run scripts.

On the right you find the syntax colored editor for script writing. Using these element you can work off line loading, editing and saving every scripts. During editing syntax color allows you to see immediatly possibile syntax error. 

On the left element you see the task list in execution with their state and the current executed script where current line is highlighed. On the side you can check the current state of script variables 


Using the help button you have a page helping you in the script writing.
When you select the function sheet you can see the list of all available functions whit explanation and input/output parameters



Using the check button you can run a preliminary script check, the result of this check is showed in the bottom element. Its allows you to discover errors in the script before the run.


In the installation are present some script example in order to have an explanation of the script possibilities.


No comments:

Post a Comment