Error trapping
Posted: 10 Feb 2020, 11:42
I've been running a script where if necessary I need to connect a focuser after disconnecting the scope.
All functioned correctly until the day before yesterday when due to an unknown reason the system returned the message "Could not connect the device" and stopped the script.
I found out the problem after some time because I checked the system before going to sleep. I normally use the script to command the scope through the night.
So my question is if in such a case it is possible to trap the error and foresee an instruction to put the system in safety.
Thanks and regards.
Alessandro
All functioned correctly until the day before yesterday when due to an unknown reason the system returned the message "Could not connect the device" and stopped the script.
I found out the problem after some time because I checked the system before going to sleep. I normally use the script to command the scope through the night.
So my question is if in such a case it is possible to trap the error and foresee an instruction to put the system in safety.
Thanks and regards.
Alessandro