Hello,

I would like to develop a client for focusing automatically my spectrograph.
My starting point is the "2.3. Goto Vega and take some pictures" example from the tutorial

My first question is directly related to this example where I don't really understand this piece of code:
ccd_connect=device_ccd.getSwitch("CONNECTION")
while not(ccd_connect):
time.sleep(0.5)
ccd_connect=device_ccd.getSwitch("CONNECTION")
if not(device_ccd.isConnected()):
ccd_connect[0].s=PyIndi.ISS_ON # the "CONNECT" switch
ccd_connect[1].s=PyIndi.ISS_OFF # the "DISCONNECT" switch
indiclient.sendNewSwitch(ccd_connect)
Why do we check for ccd.isConnected() if before we checked device_ccd.getSwitch("CONNECTION")?

My second question is about the Focuser simulator. My code, cloned from the tutorial example, is as follows:
focus_max_pos = device_focus.getNumber("FOCUS_MAX")
while focus_max_pos is False:
time.sleep(0.5)
focus_max_pos = device_focus.getNumber("FOCUS_MAX")
print(f"focus_max_pos = {focus_max_pos[0].value}")

focus_max_pos[0].setValue(8333)
indi_client.sendNewProperty(focus_max_pos)

focus_max_pos = device_focus.getNumber("FOCUS_MAX")
while focus_max_pos is False:
time.sleep(0.5)
focus_max_pos = device_focus.getNumber("FOCUS_MAX")
print(f"focus_max_pos = {focus_max_pos[0].value}")

focus_speed = device_focus.getNumber("FOCUS_SPEED")
while focus_speed is False:
time.sleep(0.5)
focus_speed = device_focus.getNumber("FOCUS_SPEED")
print(f"focus_speed = {focus_speed[0].value}")

I obtain in the terminal:
...
focus_max_pos = 0.0
focus_max_pos = 8333.0
focus_speed = 8333.0
Why does this code set the focus speed to 8333 also? I suspect there is something in principle of the properties I don't really understand :-(

I attach my entire code to this message.

Thank you for your help,

Antoine

Read More...

Hello,

I would like to know if INDI supports ArduinoAstroControl ? If not, which USB->ST4 adapter is supported ? In fact, I would like to use my old SPC900 webcam to guide my old mount with a ST4 port on its manual control pad.

Thanks,

Antoine

Read More...

Antoine Blais replied to the topic 'Which driver for my PICASTRO ?' in the forum. 7 years ago

Hello Jasem,

OK, thank you for the suggestion. I will try as soon as possible and keep you informed.

Regards,

Antoine

knro wrote: Hi Antoine, glad you find INDI/Ekos useful. I'd say try LX200Basic driver



Read More...

Antoine Blais created a new topic ' Which driver for my PICASTRO ?' in the forum. 7 years ago

Hello,

New to KStars/Ekos/INDI. It seems a very interesting software for somebody like me trying to switch from windows to Linux. Great work for the community, thank you very much !
In my specific case, I am not sure of the driver I should use with my PICASTRO. For the moment, I use LX200classic but I experience some difficulties.
The mount responds to the manual commands (not always though, and sometimes after a long delay) from the mount tab of Ekos, but calibration fails when trying to guide.

I am not able to attach a log file, so I only give my configuration at the end.

Thanks for any help.

Antoine

INDI Library: 1.3.1
Code $Rev$. Protocol 1.7.

KStars/Ekos: 2.7.3
Using:
KDE Frameworks 5.26.0
Qt 5.6.1 (built against 5.6.1)
The xcb windowing system

Ubuntu 16.10

Linux Antoine-Ubuntu 4.8.0-34-generic #36-Ubuntu SMP Wed Dec 21 17:27:47 UTC 2016 i686 i686 i686 GNU/Linux

Read More...