Author Topic: INDI Scripting  (Read 3921 times)

Offline dmcclain

  • PixInsight Addict
  • ***
  • Posts: 117
INDI Scripting
« on: 2016 May 19 13:37:09 »
I love the idea that PI has INDI control for cameras. There are at least two modes I'd want to use this in:

1. Indefinite repetition of image capture, calibration, and display through AberrationInspector for tuning up the collimation on the optical train,

2. Definite repetition of image capture, calibration, save, display, followed by some notification to the outside world that the image capture completed so that a dither motion could be initiated, followed by PI waiting for an indication that the dither motion has completed before starting another exposure.

I haven't delved deeply into the INDI support yet, but I'm wondering if this is currently possible through the scripting interface in PI? Or does this have to await additional capabilities in the INDI support?

I can imagine the communications to the outside world either happening over a socket interface or else by something as crude as posting and looking for known files, just like the ancient UNIX locking schemes of yore.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: INDI Scripting
« Reply #1 on: 2016 May 20 04:27:49 »
With the exception of controlling a mount, which is being implemented right now (a new INDIMount process in under development), you can do basically what you want related to image acquisition from a script. I have just published an example:

http://pixinsight.com/forum/index.php?topic=9871.0
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline dmcclain

  • PixInsight Addict
  • ***
  • Posts: 117
Re: INDI Scripting
« Reply #2 on: 2016 May 20 13:31:18 »
Very cool, Juan! Thanks for that.

For now I can handle the mount on my own with an external bridge tool of my own making, as long as I can get notified when images are completed, and PI will wait before starting another exposure.

But definitely looking forward to an integrated mount system too. I'll hope that the Paramount is capable.

Offline Oleg Astro

  • Newcomer
  • Posts: 32
  • Albufeira, Portugal
    • Ubuntu Astronomy 16.04
Re: INDI Scripting
« Reply #3 on: 2016 June 03 11:45:07 »
I love the idea that PI has INDI control for cameras. There are at least two modes I'd want to use this in:

1. Indefinite repetition of image capture, calibration, and display through AberrationInspector for tuning up the collimation on the optical train,

2. Definite repetition of image capture, calibration, save, display, followed by some notification to the outside world that the image capture completed so that a dither motion could be initiated, followed by PI waiting for an indication that the dither motion has completed before starting another exposure.

I haven't delved deeply into the INDI support yet, but I'm wondering if this is currently possible through the scripting interface in PI? Or does this have to await additional capabilities in the INDI support?

I can imagine the communications to the outside world either happening over a socket interface or else by something as crude as posting and looking for known files, just like the ancient UNIX locking schemes of yore.
You can read more about INDI on its site and forum.