×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Create an action(srcipt) at the end of a sequence

  • Posts: 250
  • Thank you received: 3
Hello
so I'm about to finish my remote control observatory and I'd like to do an action all at the end of a sequence.
Here's the actual order of things, which is ok, it's already working:

One command to open the roof: Okay.
2 open the telescope cap: ok
3 open roof: ok
4 takes the telescope out of the park position :ok
5 shooting :ok
6 put the telescope on park:ok
7 closes the telescope cap : ok
8 command to close the roof:ok
9 roof close : ok
10 do the Flat: NOT OK

so how can I make sure that at the end of it all I can run the Flat sequence.
I specify that the lighting of the light for the Flats will be controlled by a relay on an arduino board.
I have 2 choices: either I automate it with the roof control, or I give it an arduino box with the "arduino swicher" command.

But how do I give the order in the sequence to make the flats when the roof is closed or when the dome is parked?

Thanks for your help!
4 years 3 weeks ago #51827

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Another question, is it possible to launch an indi driver with a condition in a sequence .
for example wait until the roof is open before launching the telescope mount driver.
That way I can make sure that as long as the roof is not open I don't power the mount.
4 years 3 weeks ago #51829

Please Log in or Create an account to join the conversation.

Select Flat type and then click on Calibration button, at the bottom, you can select Park Mount and Park Dome, so these actions would be taken before the sequence is started.
4 years 3 weeks ago #51835

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
hello
Thanks for the solution. I never noticed that option before.

And by any chance, is it possible to run the mount driver only when the dome is open ?
Or to delay its connection when it opens ?
4 years 3 weeks ago #51856

Please Log in or Create an account to join the conversation.

Time to create page: 0.696 seconds