×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Sleep in driver code

  • Posts: 245
  • Thank you received: 56
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
4 years 9 months ago #39995

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

  • Posts: 245
  • Thank you received: 56

Replied by Rishi Garrod on topic Sleep in driver code

Turns out I was barking up the wrong tree. No need for a sleep!
4 years 9 months ago #40023

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

Time to create page: 0.465 seconds