×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

Sleep in driver code

3 months 1 week ago
rishigarrod
Senior Boarder
Senior Boarder
Posts: 72
Karma: 3
More
Topic Author
Sleep in driver code #39995
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

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

3 months 1 week ago
rishigarrod
Senior Boarder
Senior Boarder
Posts: 72
Karma: 3
More
Topic Author
Sleep in driver code #40023
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

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

Time to create page: 0.608 seconds