![]() ...
·
![]() |
---|
Does anyone use or have any complex scripts examples? i’v looked at Patriot Astro’s scripts but I’m looking for uses of loops and if-then statements and where to put them. |
![]() ...
·
![]() |
---|
Did you try the NINA Discord channel?
|
![]() ...
·
![]() |
---|
No. I guess I should…
|
![]() ...
·
![]()
·
1
like
|
---|
Check out the most recent presentation on the astroimaging channel. Mostly you will be using Marc Blank's Sequencer Powerups Plugin.
|
![]() ...
·
![]() |
---|
@Kathy Walker was looking for something similar I believe, maybe she can point you in the right direction.
|
![]() ...
·
![]()
·
2
likes
|
---|
I am just a beginner with NINA, but I have been learning fast, out of necessity. It's a steep learning curve. I have used Loops. Where to put them? … They will only go in the Loops section of the sequence, so the where is easy. The order doesn't matter: all the loops in a particular instruction block are evaluated frequently (I think I read somewhere they are evaluated every 5 seconds) and then applied. A set of Loop conditions will allow the instruction block to run (and repeat) until any one of the conditions becomes false. So for example, I want my sequence to stop at dawn. I also want it to stop if the target drops below 20 degrees elevation. So I added: - Loop Until Time: Astronomical Dawn - Loop Until Altitude Below: 20 degrees But if neither of those conditions becomes true before the sequence finishes, the whole thing will repeat. That's why it is called a "Loop". Since that's not what I wanted - I wanted it to run once only - I had to add another Loop instruction: - Loop For Iterations: 1 iteration The combined effect of my three Loop instructions is that the instructions run until finishes, or until dawn, or until the target is too low, *whichever happens first*. I haven't used any of the If-then-else Powerups, so I can't help you with those. So far, Loops and Triggers are handling what I want to do. |
![]() ...
·
![]()
·
1
like
|
---|
Thank you very much. I wasn't sure if the whole block ran or would it interrupt when the loop condition was met as in loop until Astronomical Dawn.
|