×

INDI Library v1.7.9 Released (23 Jun 2019)

INDI Library v1.7.9 is mostly a maintenance release to fix a few bugs in several drivers.

Sleep in driver code

  • Posts: 56
  • Karma: 3
  • Thank you received: 21

Sleep in driver code was created by rishigarrod

Hi. I have just done some modifications to the Sesto Senso focuser. After the calibration process I tell the focuser to save all settings. This command seems to take a while and if I send it another command when it is still saving i get fatal serial comms errors. Using the debugger I see that as long as I pause after sending the command to save the settings I can then read out the setting I need. When it runs at full speed that's when I get the Serial comms error.

Is it OK to sleep in the driver code (this part is only used for the control panel) ?

Cheers

Rishi
Esprit 100
Skyliner 200p
WO ZS 61
Stellarmate on RPi 3B
Sesto Senso focusser
Arduino focusser
HEQ5 with belt mod
QHY5II-Mono guide camera
EOS6D - not modified
2 weeks 3 days ago #39995

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

  • Posts: 56
  • Karma: 3
  • Thank you received: 21

Replied by rishigarrod on topic Sleep in driver code

Turns out I was barking up the wrong tree. No need for a sleep!
Esprit 100
Skyliner 200p
WO ZS 61
Stellarmate on RPi 3B
Sesto Senso focusser
Arduino focusser
HEQ5 with belt mod
QHY5II-Mono guide camera
EOS6D - not modified
2 weeks 2 days ago #40023

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

Time to create page: 0.774 seconds