Allsky-340 software problem

Discussion in 'Specialty Cameras SG-4, AllSky, ST-I' started by Dan Klinglesmith, Oct 30, 2017.

  1. Dan Klinglesmith

    Dan Klinglesmith Standard User

    Joined:
    Oct 30, 2017
    Messages:
    4
    I am sorry but I am not sure where to post this.

    I have an allsky-340 camera system. When I run the SBIG supplied software it works just fine. When I try using my python scripts and send the Checksum command "E", I get a return of ":" which is telling me that "failed transaction due to bit error during checksum transfer:". Any idea what the problem might be?

    cheers, Dan Klinglesmith
    Magdalena Ridge Observatory
    New Mexcio Tech
     
  2. Doug

    Doug Staff Member

    Joined:
    Sep 25, 2014
    Messages:
    7,334
    Moved to Specialty Cameras.

    First thing to check: have you got the baud rate set correctly?
     
  3. Dan Klinglesmith

    Dan Klinglesmith Standard User

    Joined:
    Oct 30, 2017
    Messages:
    4

    Doug, I have done a factory reset to 9600 baud. I am looking at allsky-340 manual from July 2009 V1.01. I am a little confused about sending commands. Do all of the commands end with a ":"? For example which is right "E" or "E:" to do the checksum example?

    cheers, dan
     
  4. Doug

    Doug Staff Member

    Joined:
    Sep 25, 2014
    Messages:
    7,334
  5. Dan Klinglesmith

    Dan Klinglesmith Standard User

    Joined:
    Oct 30, 2017
    Messages:
    4
    yes that is the manual I am using. Do all of the commands end with the ":"? The manual does not imply that.

    cheers, dan
     
  6. Doug

    Doug Staff Member

    Joined:
    Sep 25, 2014
    Messages:
    7,334
    The ":" is the checksum. Examples from the protocol document:

    Checksum Example
    Single Byte Command
    Command: “E” = 45h
    Inverse of 45h = BAh
    Checksum = 3Ah = “:”

    Successful Transaction:
    Sent: “E:”
    Received: “:O” ​

    Failed Transaction due to bit error during “E” transfer:
    Sent: “E:”
    Received: “>” ​

    Failed Transaction due to bit error during checksum transfer:
    Sent: “E:”
    Received: “:”​
     
  7. Dan Klinglesmith

    Dan Klinglesmith Standard User

    Joined:
    Oct 30, 2017
    Messages:
    4
    I think I understand. The checksum depends on the command?

    cheers, dan
     
  8. Doug

    Doug Staff Member

    Joined:
    Sep 25, 2014
    Messages:
    7,334

Share This Page