Severe error notifications

Hi
I am using a remotely operated Paramount MX+, these mounts have a known problem on USB, which leads to disconnection in the SkyX.
One option I have to fix it is ordering a 1600USD kit from SB, the other option is to get a timely notification through Telegram about the problem, so I can reconnect the mount.
I tried to find a way to get a notification when the red text “Severe error - missing connection to mount” appears in the drag script window, but could not figure it out.
I read that something can be done in the Sequence setting, but since I am using Robotarget, that block does not offer many setup options… any idea on what I could do?
Thank you
Davide

1 Like

Hi Davide

the driver “Severe error” message is just a message and is not catchable. What you can catch is the exit of a Sequence using the environment variables

https://wiki.starkeeper.it/index.php/DragScript_Environment_Variables

In your case you can check the $$SEQUENCE_FAIL_STATUS counter and one of possible values according the existing.

You can also ask for a customization and adding exit from sequence in case of “several error” message before the mount throw an exception that cause the sequence to exit.

Also you can use the reconnect mount feature if this solve your problem but work only if you use ASCOM like mount control in Voyager:
https://wiki.starkeeper.it/index.php/Mount_Setup#ASCOM_Workaround

Probably customization of Voyager cost is lower thant the SB solution , specially for sending only a message.

how do you solve the problem after receiving the message about ? Switch on/off theskyX or reconnecting it ?

All the best
LO

Grazie - thank you Leo :slight_smile:
I close TSX, reset the mount with the Ipswitch - and then reconnect from Voyager (always keeping fingers crossed that the USB will work)

I have successfully managed to use the environment variables to send the status over Telegram, anyhow I am using Robotarget and I cannot find a way for the environment variables to be checked during the sequence block execution, I only get the Telegram messages before the sequence starts and after the sequence loop is done (at the end of the night). I would like to be notified e.g. when Robotarget moves from one target to another one, or even better as soon as the sequence fails… I am not knowledgeable about Drag Script, so maybe there is an easy way to fix this?
See my script right now:

https://www.dropbox.com/scl/fi/0efwpqybkh57ifskgif9y/Image.jpeg?rlkey=1lbxq8lm2fdzxy8vdaffj6vph&st=hhqx0b8v&dl=0

You can intercept the RoboTarget Event dedicated to the Sequence Errore as for image

immagine

You cannot check the environment variables during the Sequence.
Otherwise as I wrote you need to ask for customization (adding severe error like RoboTarget Event)

All the best