NINA - start, stop and pause with SAFE conditions Stefan Berg Nighttime Imaging 'N' Astronomy (N.I.N.A. / NINA) · vikas chander · ... · 20 · 629 · 21

vikaschander@rolexhosiery.com 1.51
...
· 
·  1 like
Hi AstroBinners,
Apologies if this question has been asked elsewhere and if so please feel free to point me to the discussion

I am running NINA in a remote observatory which reports the roof condition as open or close in the Safety Monitor of NINA.

I am using Loop while Safe as a loop condition. But when it becomes unsafe the sequence just ends and skip to the end of sequence instructions thus shutting down the rig.

Is there a way to pause imaging/guiding when conditions are unsafe while still tracking. So when conditions become safe a plate solve occurs, guiding resumes as does imaging.

Thanks for any insights, tips tricks and suggestions

Best
Vikas Chander
Like
Lucas_THIBAUD 0.00
...
· 
Hello Vikas,

Lucas here from the observatory.

Safety monitor is less and less used as it is a bit sensitive. we recommend to get it out of the configuration. From what I know some user's are using the roof status on the user interface with a script, or pushover's notification as a trigger which is more reliable.

otherwise, you can shoot the roof as except during april roof are unlikely not closing very often 

Best regards !
Like
ashastry 1.51
...
· 
·  5 likes
Hi Vikas,

I have my setup doing exactly what you want to do. You can use the sequencer powerups plugin with its When Becomes Unsafe and Once Safe instructions to stop guiding, park your mount, etc once the roofs close, and then unpark and slew, run autofocus and resume imaging. Here is an image showing how I have set it up. Create something like below and add it as a trigger to your sequences. Works like a charm.

Ani

image.jpeg
Like
bvalente 1.51
...
· 
·  2 likes
Ani Shastry:
Hi Vikas,

I have my setup doing exactly what you want to do. You can use the sequencer powerups plugin with its When Becomes Unsafe and Once Safe instructions to stop guiding, park your mount, etc once the roofs close, and then unpark and slew, run autofocus and resume imaging. Here is an image showing how I have set it up. Create something like below and add it as a trigger to your sequences. Works like a charm.

Ani

image.jpeg

@Ani Shastry thanks i was just thinking more about this recently and your example is helpful. How do you handle the startups, making sure it doesn't open if unsafe? -Brian
Like
CCDnOES 5.61
...
· 
·  2 likes
THIBAUD Lucas:
Safety monitor is less and less used as it is a bit sensitive. we recommend to get it out of the configuration. From what I know some user's are using the roof status on the user interface with a script, or pushover's notification as a trigger which is more reliable.

otherwise, you can shoot the roof as except during april roof are unlikely not closing very often


There is an ASCOM generic file safety monitor available that will allow you to read various status files and apply them to the safety monitor function.

Generic File Safety Monitor

I use it to monitor roof status at a remote site in combination with Marc Blank's Sequencer Powerups and it works great.

gfsm.png
Edited ...
Like
ashastry 1.51
...
· 
·  1 like
Brian Valente:

I essentially have a couple of wait until safe instructions in the startup section. I first wait until the roofs open, then I cool the camera, reset the focuser/rotator, etc... and wait until 15 mins before astro-dark, and I have another wait until safe there just in case the roofs close right before astro dark.
Like
bvalente 1.51
...
· 
Ani Shastry:
Brian Valente:

I essentially have a couple of wait until safe instructions in the startup section. I first wait until the roofs open, then I cool the camera, reset the focuser/rotator, etc... and wait until 15 mins before astro-dark, and I have another wait until safe there just in case the roofs close right before astro dark.

Got. I take it you are not managing the roof open/close?
Like
bvalente 1.51
...
· 
Bill McLaughlin:
THIBAUD Lucas:
Safety monitor is less and less used as it is a bit sensitive. we recommend to get it out of the configuration. From what I know some user's are using the roof status on the user interface with a script, or pushover's notification as a trigger which is more reliable.

otherwise, you can shoot the roof as except during april roof are unlikely not closing very often


There is an ASCOM generic file safety monitor available that will allow you to read various status files and apply them to the safety monitor function.

Generic File Safety Monitor

I use it to monitor roof status at a remote site in combination with Marc Blank's Sequencer Powerups and it works great.

gfsm.png

Thanks Bill - I use the ascom safety hub to monitor a few different things. It looks similar to this but it's ascom driven vs file driven. I manage the open-close of the roof myself, so there are a few more steps for me.
Like
Lucas_THIBAUD 0.00
...
· 
I'll check with the person that handle the status of the roof to check but the ASCOM driver in question was written for the specific condition of the infrastructure here in Chile, so not sure how this can be integrated!

will check.
Like
Reg_00 8.83
...
· 
Ani Shastry:
Hi Vikas,

I have my setup doing exactly what you want to do. You can use the sequencer powerups plugin with its When Becomes Unsafe and Once Safe instructions to stop guiding, park your mount, etc once the roofs close, and then unpark and slew, run autofocus and resume imaging. Here is an image showing how I have set it up. Create something like below and add it as a trigger to your sequences. Works like a charm.

Ani

image.jpeg

+1 generic safety monitor to read the roofstatus file with WBU works great. The way I have my seq configured to expire at the end of nautical dawn at which time it parks, warms camera, etc. 

Screenshot_20240612-165311.png
Like
DrKrud 1.20
...
· 
I have the Sequencer Powerups plugin installed and have setup my instruction set as described in the above post by Ani.
One question though - When conditions remain unsafe for the rest of the night and the mount is parked and guiding stopped etc, what do you use to tell the sequence to exit the 'When Becomes Unsafe' condition and then go and run the Sequence End instructions for warming the camera etc? Do you use a Looped condition until at set time with the When Becomes Unsafe trigger or use a different instruction?

Thanks
Logan
Like
Reg_00 8.83
...
· 
You nest your deep sky object sequence in a sequential instruction set and place a loop until time loop condition in the parent. If WBU is active when that timer expires WBU exits and the sequencer moves to the next instruction set. Nested instruction sets obey triggers and loop conditions of the parent set.

Screenshot 2024-06-21 161315.png
Edited ...
Like
DrKrud 1.20
...
· 
·  1 like
Reg Pratt:
You nest your deep sky object sequence in a sequential instruction set and place a loop until time loop condition in the parent. If WBU is active when that timer expires WBU exits and the sequencer moves to the next instruction set. Nested instruction sets obey triggers and loop conditions of the parent set.

Screenshot 2024-06-21 161315.png

Ah yes of course, seems quite obvious now that you mention it. Thank you very much for getting back to me.
Like
DrKrud 1.20
...
· 
·  1 like
Sorry, one more question, when you use the framing tool to frame up a target and then ask it to use one of the saved templates to create the sequence. I presume the sequence that then appears in the sequencer would have to be immediately saved, removed and then reinserted into the sequential instruction set you describe above?
There is no way to have the sequence, when created, automatically be placed as a nest instruction into the the sequential instruction set that contains the loop condition?
Like
Reg_00 8.83
...
· 
@Logan Carpenter

I always work with a saved advanced sequence template that loads when NINA is opened. This template contains:

- all my daytime instructions
- a blank deep sky object instruction set filled with all appropriate instructions, loop conditions, and triggers
- the end session instruction set


Take note that the deep sky instruction set is named DSO in the Target parent instruction set.
2024-06-22 06_51_04.jpg

If I want to change the target from the framing assistant I simply load the new target, click the Add target to sequence button, click Update Existing Target in Sequencer,  click DSO. This will replace the target information inside of the DSO deep sky instruction set with what's in the framing assistant.
2024-06-22 06_57_08.jpg

Now  your new target is in the main sequence and all you need do is make any changes such as filter and exposure time.
2024-06-22 07_00_57.jpg


If you will be imaging this over multiple nights save the entire advanced sequence so that it loads next time you open NINA and you can resume just changing filter and exposure information as needed. One you're finished imaging that target you can repeat the process with a new target.
Edited ...
Like
Reg_00 8.83
...
· 
·  1 like
You can also add addition targets to the sequence by simply cloning the DSO set, changing its name to anything (I change to "2"), load the new target in the framing assistant and replace 2 with it.


Clone DSO
'.jpg
2024-06-22 07_12_16.jpg


Change name second DSO to "2"
2024-06-22 07_13_39.jpg


In framing assistant, replate 2 with new target
2024-06-22 07_14_23.jpg


Now you have 2 targets just go in and adjust instructions as needed.
2024-06-22 07_15_38.jpg

Repeat to add more targets.
Like
bvalente 1.51
...
· 
@Reg thanks for those details. I don't suppose you could share your sequence file?

Brian
Like
Reg_00 8.83
...
· 
·  1 like
@Brian Valente

Here you go.
https://drive.google.com/file/d/15W_oaqkw5oNEnE5wrDjhMKS0n-AtRPik/view?usp=sharing

Be mindful that my sequence is setup to run at a remote observatory and loops endlessly. You can disable the looping behavior by changing the Loop While at the top of the sequence to be false. If you want details on how I made the sequence I wrote about it here:
https://www.r3gdigital.com/blog/looping-nina-sequence
Like
bvalente 1.51
...
· 
Reg Pratt:
@Brian Valente

Here you go.
https://drive.google.com/file/d/15W_oaqkw5oNEnE5wrDjhMKS0n-AtRPik/view?usp=sharing

Be mindful that my sequence is setup to run at a remote observatory and loops endlessly. You can disable the looping behavior by changing the Loop While at the top of the sequence to be false. If you want details on how I made the sequence I wrote about it here:
https://www.r3gdigital.com/blog/looping-nina-sequence

! @Reg Pratt thanks a million for the file and writeup, that's perfect. The infinite loop is what i'm after, I manage my own roof open/close/safety, so I'm interested in your bigger picture stuff -Brian
Like
Reg_00 8.83
...
· 
·  1 like
@Brian Valente

Happy to help. If you want full automation you can replace my DSO set with a Target Scheduler set. I prefer being a little hands on though selecting target and filters myself.
Edited ...
Like
DrKrud 1.20
...
· 
·  1 like
Reg Pratt:
You can also add addition targets to the sequence by simply cloning the DSO set, changing its name to anything (I change to "2"), load the new target in the framing assistant and replace 2 with it.


Clone DSO
'.jpg
2024-06-22 07_12_16.jpg


Change name second DSO to "2"
2024-06-22 07_13_39.jpg


In framing assistant, replate 2 with new target
2024-06-22 07_14_23.jpg


Now you have 2 targets just go in and adjust instructions as needed.
2024-06-22 07_15_38.jpg

Repeat to add more targets.

Ok, thanks very much for the info. Much appreciated.
Like
 
Register or login to create to post a reply.