×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

EQmod aborting

  • Posts: 535
  • Thank you received: 109

EQmod aborting was created by Jim

latest INDI/Ekos/Kstars, version 2.8.9 Build: 2017-12-25T02:08:08Z

I am getting disconnects happening that I cannot figure out. I am guiding using the internal guider (finally figured that out - other thread updated). After some time, in this case one 180s exposure in and one about 60s, the mount stops responding to guide commands and stops tracking. I go in to the INDI control panel and hit the disconnect button 2x, and then reconnect and it is back to working, thought the capture session needs to be set up again. Is this something new, or maybe just a cold stiff cable type issue that is pulling on a port? Would it be possible to trap and display the unrecognized error code to help debugging?

2017-12-27T03:55:31: [ERROR] Error when disconnecting mount -> tty write failed, check connection: Error: unrecognized error code
2017-12-27T03:55:31: [ERROR] Error: -> tty write failed, check connection: Error: unrecognized error code
2017-12-27T03:55:31: [ERROR] Error when disconnecting mount -> tty write failed, check connection: Error: unrecognized error code
2017-12-27T03:55:31: [ERROR] Error: -> tty write failed, check connection: Error: unrecognized error code
2017-12-27T03:55:31: [ERROR] Error when disconnecting mount -> tty write failed, check connection: Error: unrecognized error code
2017-12-27T03:55:31: [ERROR] Error: -> tty write failed, check connection: Error: unrecognized error code
2017-12-27T03:55:31: [INFO] EQMod Mount is offline.
2017-12-27T03:55:31: [ERROR] Error: -> tty read failed, check connection: Timeout error
2017-12-27T03:48:04: [INFO] Telescope slew is complete. Tracking TRACK_SIDEREAL...
2017-12-27T03:48:03: [INFO] Iterative Goto (1): RA diff = 1.48 arcsecs DE diff = 0.05 arcsecs
2017-12-27T03:48:02: [INFO] Slewing to RA: 6:41:56 - DEC: 9:39:37
2017-12-27T03:48:02: [INFO] Slewing mount: RA increment = 1678, DE increment = 3262
2017-12-27T03:48:02: [INFO] Starting Goto RA=6.69899 DE=9.66021 (current RA=6.85556 DE=7.52569)
2017-12-27T03:47:54: [INFO] Telescope slew is complete. Tracking TRACK_SIDEREAL...
2017-12-27T03:47:54: [INFO] Iterative Goto (2): RA diff = 1.15 arcsecs DE diff = 0.13 arcsecs
2017-12-27T03:47:52: [INFO] Iterative goto (1): slew mount to RA increment = 609, DE increment = 0
2017-12-27T03:47:52: [INFO] Iterative Goto (1): RA diff = 5.76 arcsecs DE diff = 0.13 arcsecs
2017-12-27T03:47:47: [INFO] Slewing to RA: 6:42:11 - DEC: 9:31:54
2017-12-27T03:47:47: [INFO] Slewing mount: RA increment = 26604, DE increment = -285
2017-12-27T03:47:47: [INFO] Starting Goto RA=6.70317 DE=9.53177 (current RA=6.92576 DE=7.53706)
2017-12-27T03:47:35: [INFO] Mount is unparked.
2017-12-27T03:47:35: [WARNING] Init() : Setting both ST4 guide rates to 0.5x (2)
2017-12-27T03:47:35: [WARNING] Init() : Setting default Init steps -- RAInit=8388608 DEInit = 8388608
2017-12-27T03:47:35: [WARNING] Init() : Motors already initialized
2017-12-27T03:47:35: [INFO] EQMod Mount is online.
2017-12-27T03:47:35: [INFO] Successfully connected to EQMod Mount.
6 years 3 months ago #21899

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

  • Posts: 535
  • Thank you received: 109

Replied by Jim on topic EQmod aborting

Update: does not appear to be a cable issue. I stopped trying to guide, and so far have 5 frames of 180 seconds with no time-outs. There does seem to be something here to look into. Is the first step to capture the error information being reported but not recognized ?

Update 2: even this failed after some more time.
Last edit: 6 years 3 months ago by Jim.
6 years 3 months ago #21901

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

  • Posts: 535
  • Thank you received: 109

Replied by Jim on topic EQmod aborting

@knro (or anyone with the dev environment set up), can we get a quick change to dump the raw messages when the error is unknown instead of printing "Error: unrecognized error code" in EQmod?
6 years 3 months ago #21975

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic EQmod aborting

In my experience it's been one of two things.
1. Cable issue. Check both ends. I have found the USB end to be a failure point and needed to be pinched to make better contact. Give it a wiggle to see.
2. Voltage drop off to the mount during slew. Make sure batteries are well charged, more likely to occur in the cold.
Last edit: 6 years 3 months ago by Andrew.
6 years 3 months ago #22035

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

  • Posts: 535
  • Thank you received: 109

Replied by Jim on topic EQmod aborting

Both of these are likely candidates, I agree. I have done much to prevent voltage drop, using a 12v constant voltage 12A power supply, and short runs to the mount, but in the cold, the cables are stiff either way, and so, more prone to have tension on them. The USB end is in an enclosure with the computer and is very well protected from both cold and movement, but the RJ end is certainly exposed.

I would like to see the actual error returned to see if it might help pinpoint where to fortify.
6 years 3 months ago #22036

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic EQmod aborting

99% of the time it's the connection. The USB had me puzzled for a long time because it would disconnect when I slew, it looked like any number of possible issues, driver, power, connection. etc. Turned out it was how the USB fit, just a slight wiggle could break the connection.
6 years 3 months ago #22038

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

Time to create page: 0.221 seconds