Menu

Temp Compensation not working

2021-01-25
2021-01-31
  • Michael O'Brien

    Michael O'Brien - 2021-01-25

    Hi Robert I wonder if you might be able to help, I have built the focuser with OLED,Buttons,Temp probe. While I am getting the temp probe readings I don't seem to be able to get the Temp comp working. In the windows app the TC Available tick box is ticked but grayed out. If I do Extra settings/Temp Comp/Get Temp comp it returns Temp Comp on along with the coefficient and direction false which looks fine. However If I try to calibrate it and force a 3+ degree change on the temp probe i don't get any prompt to refocus after the initial prompts. If I turn TC on and change the probe temp there isn't any movement from the stepper motor and the step count display stays the same.
    I am using
    Windows app 2.4.5.9
    Ascom Version 276
    Arduino Firmware

    // myfocuser DRV8825 OLED
    // ONLY FOR USE DRV8825 HW203 OLED ONLY - supports 1.5A at 12VDC and microstepping
    // BIPOLAR STEPPER MOTORS ONLY
    // SUPPORTS PUSH BUTTONS, BUZZER, LEDS, TEMPERATURE PROBE, BLUETOOTH, ROTARY ENCODER, INRARED CONTROLLER, HOME POSITION SWITCH

    The focuser works in all other respects including the OLED display and has been a fantastic asset on to my equipment. Thanks for any help you may be able to provide.
    I have attached the Firmware in case I have missed any changes I needed to make I renamed it Mikes focuser so I know which file I have customized for my build.
    Thanks again Mike

     
  • Michael O'Brien

    Michael O'Brien - 2021-01-25

    Forgot to add its on your circuit board design Rev 12

     
  • Michael O'Brien

    Michael O'Brien - 2021-01-25

    Hi Robert have changed to firmware 304 but still cant set Temp coefficient and the proceedure still doesnt prompt me when 3 degree temp change is achieved.

     

    Last edit: Michael O'Brien 2021-01-25
  • brownrb

    brownrb - 2021-01-26

    TC Available tick box is ticked but grayed out?
    TC available is a read only box. A user cannot change its state because it is under the control of the controller, not the user. So if temp comp is available by the controller, this box will be ticked - and greyed out. if temp comp is not availble in the controller, then this box willnot be ticked, but will also be greyed out.

    still cant set Temp coefficient?
    On the Windows app, Temperature tab, have you checked Update on Connect in the Temperature Compensation group?

    Start the Windows app.
    Enable Log Errors on the Logging tab
    Connect to the focus controller
    After connection, click on - from Menu Extra Settings, Temperature Compensation, Get temperature Compensation Settings from controller
    Wait 5s
    Then disconnect ftom the controller
    Then send me the error log file.

     

    Last edit: brownrb 2021-01-26
    • Michael O'Brien

      Michael O'Brien - 2021-01-29

      Thanks Robert here is the log as requested

      Mike

      Sent from Mail for Windows 10

      From: brownrb
      Sent: 26 January 2021 03:23
      To: [arduinoascomfocuserpro2diy:discussion]
      Subject: [arduinoascomfocuserpro2diy:discussion] Temp Compensation not working

      On the Windows app, Temperature tab, have you checked Update on Connect in the Temperature Compensation group?
      Start the Windows app.
      Enable Log Errors on the Logging tab
      Connect to the focus controller
      After connection, click on - from Menu Extra Settings, Temperature Compensation, Get temperature Compensation Settings from controller
      Wait 5s
      Then disconnect ftom the controller
      Then send me the error log file.

      Temp Compensation not working

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • brownrb

    brownrb - 2021-01-29

    The .png picture I cannot see - it appears blank?

    28/01/2021 23:18:11: Connect: Get if TempComp Available
    28/01/2021 23:18:11: Connect: response = A1#
    28/01/2021 23:18:11: Connect: Get status of temperature compensation
    28/01/2021 23:18:11: Connect: response = 10#
    28/01/2021 23:18:11: Connect: Get TempPrecision
    28/01/2021 23:18:11: Connect: response = Q9#
    

    tells me that the controller recognizes the temperature probe nd that temperature compensation is available.

    When you did the get tempcomp I see

    28/01/2021 23:18:29: getTempCompSetting:: Get temp conp status
    28/01/2021 23:18:29: getTempCompSetting:: response = 10#
    28/01/2021 23:18:29: getTempCompSetting:: Get temperature coefficient
    28/01/2021 23:18:29: getTempCompSetting:: response = B118#
    28/01/2021 23:18:29: getTempCompSetting:: Get temp comp direction
    28/01/2021 23:18:29: getTempCompSetting:: response = k0#
    28/01/2021 23:18:29: getTempCompSetting:: TempCompSettings: Temperature compensation is Off. Coefficient = 118. Dir = False
    

    which shows temp coefficient is set to 118 steps, temp compensation is OFF and the temp compensation direction is False

    The next step to enable the focuser to enter temperature compensation mode I cannot see in the log file.
    This would be
    1. goto temperature tab
    2. check TC ON/OFF checkbox
    Doing that would send the command to the controller to start "Temperature Compensation" mode

    I also cannot see where you might have tried to determine the temp coefficient setting.

    So to help me further
    1. Connect to the focuser, with logging enabled
    2. After connection, goto the temperature tab and check the TC ON/OFF checkbox
    3. Use the menu setting - Extra Settings - Temperature Compensation - Get temperature compensation settings from controller

    I would expect to see that temp compensation as enabled.

    Next:
    1. Use the menu setting - Extra Settings - Temperature Compensation - Disable temperature compensation
    2. Then, use the menu setting - Extra Settings - temperature Compensation - Calculate temperature Coefficient

    and follow the steps outlined and follow through as far as you can get - (the procedure is outlined in the PDF pg 150 onwards), - during which you should see status messages related to the temperature readings every few seconds - this code waits for the temperature to drop by 3 degrees, if it does not it will wait forerver -

    So normally this is how you would do this - set up the telescope just before dusk - you only need a connection to the focuser, not the mount. Occassionaly every 30s or so monitor the temperature. You need to position the probe to measure the temperature of the focuser tube, of course for a SCT there is no focuser tube so I used to mount the probe about half way down the telescope tube between the front corrector plate and the rear of the SCT.

    When you see the temperature start to fall, As the sun goes away, start the temperature compensation from the menu

    Once completed (or as far as you get), then exit the application and post the log file for me to review.

     

    Last edit: brownrb 2021-01-29
    • Michael O'Brien

      Michael O'Brien - 2021-01-29

      Hi Robert still no luck I get to the wait until you are re prompted message but I am never re prompted I can see the temp refresh timer started and the reported temp in the status message box. I then warm/ cool the temp probe and see a temp change of >3 degrees but never get any prompts to continue beyond that point.

      Thanks again
      Mike

      Sent from Mail for Windows 10

      From: brownrb
      Sent: 29 January 2021 04:37
      To: [arduinoascomfocuserpro2diy:discussion]
      Subject: [arduinoascomfocuserpro2diy:discussion] Temp Compensation not working

      The .png picture I cannot see - it appears blank?
      28/01/2021 23:18:11: Connect: Get if TempComp Available
      28/01/2021 23:18:11: Connect: response = A1#
      28/01/2021 23:18:11: Connect: Get status of temperature compensation
      28/01/2021 23:18:11: Connect: response = 10#
      28/01/2021 23:18:11: Connect: Get TempPrecision
      28/01/2021 23:18:11: Connect: response = Q9#
      tells me that the controller recognizes the temperature probe nd that temperature compensation is available.
      When you did the get tempcomp I see
      28/01/2021 23:18:29: getTempCompSetting:: Get temp conp status
      28/01/2021 23:18:29: getTempCompSetting:: response = 10#
      28/01/2021 23:18:29: getTempCompSetting:: Get temperature coefficient
      28/01/2021 23:18:29: getTempCompSetting:: response = B118#
      28/01/2021 23:18:29: getTempCompSetting:: Get temp comp direction
      28/01/2021 23:18:29: getTempCompSetting:: response = k0#
      28/01/2021 23:18:29: getTempCompSetting:: TempCompSettings: Temperature compensation is Off. Coefficient = 118. Dir = False
      which shows temp coefficient is set to 119 steps, temp compensation is OFF and the temp compensation direction is False
      The next step to enable the focuser to enter temperature compensation mode I cannot see in the log file.
      This would be
      1. goto temperature tab
      2. check TC ON/OFF checkbox
      Doing that would send the command to the controller to start "Temperature Compensation" mode
      I also cannot see where you might have tried to determine the temp coefficient setting.
      So to help me further
      1. Connect to the focuser, with logging enabled
      2. After connection, goto the temperature tab and check the TC ON/OFF checkbox
      3. Use the menu setting - Extra Settings - Temperature Compensation - Get temperature compensation settings from controller
      I would expect to see that temp compensation as enabled.
      Next:
      1. Use the menu setting - Extra Settings - Temperature Compensation - Disable temperature compensation
      2. Then, use the menu setting - Extra Settings - temperature Compensation - Calculate temperature Coefficient
      and follow the steps outlined and follow through as far as you can get - (the procedure is outlined in the PDF pg 150 onwards), - during which you should see status messages related to the temperature readings every few seconds - this code waits for the temperature to drop by 3 degrees, if it does not it will wait forerver -
      So normally this is how you would do this - set up the telescope just before dusk - you only need a connection to the focuser, not the mount. Occassionaly every 30s or so monitor the temperature. You need to position the probe to measure the temperature of the focuser tube, of course for a SCT there is no focuser tube so I used to mount the probe about half way down the telescope tube between the front corrector plate and the rear of the SCT.
      When you see the temperature start to fall, As the sun goes away, start the temperature compensation from the menu
      Once completed (or as far as you get), then exit the application and post the log file for me to review.

      Temp Compensation not working

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
      • brownrb

        brownrb - 2021-01-30

        My Bad

        Focuser supports temperature compensation
        29/01/2021 23:14:53: Connect: Get status of temperature compensation
        29/01/2021 23:14:53: Connect: response = 10#
        Temperature compensation is off
        29/01/2021 23:14:54: Connect: Get Temperature
        29/01/2021 23:14:54: Connect: Send command to focuser
        29/01/2021 23:14:54: Connect: response = Z23.0#
        Temperature is 23.0
        29/01/2021 23:15:18: getTempCompSetting:: Get temp conp status
        29/01/2021 23:15:18: getTempCompSetting:: response = 11#
        29/01/2021 23:15:18: getTempCompSetting:: Get temperature coefficient
        29/01/2021 23:15:18: getTempCompSetting:: response = B232#
        29/01/2021 23:15:18: getTempCompSetting:: Get temp comp direction
        29/01/2021 23:15:18: getTempCompSetting:: response = k0#
        temperature compensation now ON
        temperature cofficient - motor steps per degree = 232
        temp compensation direction = 0

        This is where things go wrong
        29/01/2021 23:16:20: CalculateTemperatuerCoefficient:
        You clicked on the Menu Item calculateTemperatureCoefficient
        =START=========================================================
        29/01/2021 23:16:20: CalculateTemperatuerCoefficient: DIVIDE BY ZERO EXCEPTION
        System.DivideByZeroException: Attempted to divide by zero.
        at myFocuserPro2.Focuser.calculateTemperatureCoefficientMenuItem_Click(Object sender, EventArgs e)
        This is an error::::::::

        YOU SHOULD HAVE CLICKED START RECORDING FROM THE MENU
        I MAY HAVE TOLD YOU TO CLICK THE WRONG MENU OPTION
        START RECORDING IS WHAT YOU SHOULD HAVE CLICKED

        The calculateTemperatureCoefficient menu option can only be clicked
        when you have readings - so it fails because no readings were taken -
        because it is "start recording" that takes the readings first

        PLEASE RETRY EXERCISE WITH THE CORRECTED MENU OPTION AND POST THE LOGFILE

         
        • Michael O'Brien

          Michael O'Brien - 2021-01-30

          Hi Robert
          I have definitely been pressing “start recording” and then getting the message " Have you focused the telescope and are ready to begin?” which I respond by pressing “Yes” I then get the message telling me that the application is ready to to save the current focuser position and temperature values as the first reading. To which I press “Yes” I next get a message to say “Please wait till you are prompted to refocus. Do not make any changes. Click OK to continue. I can then see the Temp refresh messages in the Status window but despite temperature changes exceeding 3 degrees don’t get another prompt no matter how long I wait.

          I have attached another log file with this sequence followed as detailed.

          I appreciate your time and effort helping.
          Mike

          Sent from Mail for Windows 10

          From: brownrb
          Sent: 30 January 2021 11:49
          To: [arduinoascomfocuserpro2diy:discussion]
          Subject: [arduinoascomfocuserpro2diy:discussion] Re: Temp Compensation not working

          My Bad
          Focuser supports temperature compensation
          29/01/2021 23:14:53: Connect: Get status of temperature compensation
          29/01/2021 23:14:53: Connect: response = 10#
          Temperature compensation is off
          29/01/2021 23:14:54: Connect: Get Temperature
          29/01/2021 23:14:54: Connect: Send command to focuser
          29/01/2021 23:14:54: Connect: response = Z23.0#
          Temperature is 23.0
          29/01/2021 23:15:18: getTempCompSetting:: Get temp conp status
          29/01/2021 23:15:18: getTempCompSetting:: response = 11#
          29/01/2021 23:15:18: getTempCompSetting:: Get temperature coefficient
          29/01/2021 23:15:18: getTempCompSetting:: response = B232#
          29/01/2021 23:15:18: getTempCompSetting:: Get temp comp direction
          29/01/2021 23:15:18: getTempCompSetting:: response = k0#
          temperature compensation now ON
          temperature cofficient - motor steps per degree = 232
          temp compensation direction = 0
          This is where things go wrong
          29/01/2021 23:16:20: CalculateTemperatuerCoefficient:
          You clicked on the Menu Item calculateTemperatureCoefficient
          =START=========================================================
          29/01/2021 23:16:20: CalculateTemperatuerCoefficient: DIVIDE BY ZERO EXCEPTION
          System.DivideByZeroException: Attempted to divide by zero.
          at myFocuserPro2.Focuser.calculateTemperatureCoefficientMenuItem_Click(Object sender, EventArgs e)
          This is an error::::::::
          YOU SHOULD HAVE CLICKED START RECORDING FROM THE MENU
          I MAY HAVE TOLD YOU TO CLICK THE WRONG MENU OPTION
          START RECORDING IS WHAT YOU SHOULD HAVE CLICKED
          The calculateTemperatureCoefficient menu option can only be clicked
          when you have readings - so it fails because no readings were taken -
          because it is "start recording" that takes the readings first
          PLEASE RETRY EXERCISE WITH THE CORRECTED MENU OPTION AND POST THE LOGFILE

          Temp Compensation not working

          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

           
          • Michael O'Brien

            Michael O'Brien - 2021-01-30

            Hi Robert
            Resending this message as I am not sure the log file attached to the last one.
            I have definitely been pressing “start recording” and then getting the message " Have you focused the telescope and are ready to begin?” which I respond by pressing “Yes” I then get the message telling me that the application is ready to to save the current focuser position and temperature values as the first reading. To which I press “Yes” I next get a message to say “Please wait till you are prompted to refocus. Do not make any changes. Click OK to continue. I can then see the Temp refresh messages in the Status window but despite temperature changes exceeding 3 degrees don’t get another prompt no matter how long I wait.
            I have attached another log file with this sequence followed as detailed.
            I appreciate your time and effort helping.
            Mike

            Sent from Mail for Windows 10

            From: Michael O'Brien
            Sent: 30 January 2021 13:00
            To: [arduinoascomfocuserpro2diy:discussion]
            Subject: [arduinoascomfocuserpro2diy:discussion] Re: Temp Compensation not working

            Hi Robert
            I have definitely been pressing “start recording” and then getting the message " Have you focused the telescope and are ready to begin?” which I respond by pressing “Yes” I then get the message telling me that the application is ready to to save the current focuser position and temperature values as the first reading. To which I press “Yes” I next get a message to say “Please wait till you are prompted to refocus. Do not make any changes. Click OK to continue. I can then see the Temp refresh messages in the Status window but despite temperature changes exceeding 3 degrees don’t get another prompt no matter how long I wait.
            I have attached another log file with this sequence followed as detailed.
            I appreciate your time and effort helping.
            Mike
            Sent from Mail for Windows 10
            From: brownrb
            Sent: 30 January 2021 11:49
            To: [arduinoascomfocuserpro2diy:discussion]
            Subject: [arduinoascomfocuserpro2diy:discussion] Re: Temp Compensation not working
            My Bad
            Focuser supports temperature compensation
            29/01/2021 23:14:53: Connect: Get status of temperature compensation
            29/01/2021 23:14:53: Connect: response = 10#
            Temperature compensation is off
            29/01/2021 23:14:54: Connect: Get Temperature
            29/01/2021 23:14:54: Connect: Send command to focuser
            29/01/2021 23:14:54: Connect: response = Z23.0#
            Temperature is 23.0
            29/01/2021 23:15:18: getTempCompSetting:: Get temp conp status
            29/01/2021 23:15:18: getTempCompSetting:: response = 11#
            29/01/2021 23:15:18: getTempCompSetting:: Get temperature coefficient
            29/01/2021 23:15:18: getTempCompSetting:: response = B232#
            29/01/2021 23:15:18: getTempCompSetting:: Get temp comp direction
            29/01/2021 23:15:18: getTempCompSetting:: response = k0#
            temperature compensation now ON
            temperature cofficient - motor steps per degree = 232
            temp compensation direction = 0
            This is where things go wrong
            29/01/2021 23:16:20: CalculateTemperatuerCoefficient:
            You clicked on the Menu Item calculateTemperatureCoefficient
            =START=========================================================
            29/01/2021 23:16:20: CalculateTemperatuerCoefficient: DIVIDE BY ZERO EXCEPTION
            System.DivideByZeroException: Attempted to divide by zero.
            at myFocuserPro2.Focuser.calculateTemperatureCoefficientMenuItem_Click(Object sender, EventArgs e)
            This is an error::::::::
            YOU SHOULD HAVE CLICKED START RECORDING FROM THE MENU
            I MAY HAVE TOLD YOU TO CLICK THE WRONG MENU OPTION
            START RECORDING IS WHAT YOU SHOULD HAVE CLICKED
            The calculateTemperatureCoefficient menu option can only be clicked
            when you have readings - so it fails because no readings were taken -
            because it is "start recording" that takes the readings first
            PLEASE RETRY EXERCISE WITH THE CORRECTED MENU OPTION AND POST THE LOGFILE
            Temp Compensation not working
            Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
            To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

            Temp Compensation not working

            Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
            To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

             
            • Michael O'Brien

              Michael O'Brien - 2021-01-30

              Something I cant see is the status window saying initial step or temp recorded if that’s any help?

              Mike

              Sent from Mail for Windows 10

              From: Michael O'Brien
              Sent: 30 January 2021 13:15
              To: [arduinoascomfocuserpro2diy:discussion]
              Subject: [arduinoascomfocuserpro2diy:discussion] Re: Temp Compensation not working

              Hi Robert
              Resending this message as I am not sure the log file attached to the last one.
              I have definitely been pressing “start recording” and then getting the message " Have you focused the telescope and are ready to begin?” which I respond by pressing “Yes” I then get the message telling me that the application is ready to to save the current focuser position and temperature values as the first reading. To which I press “Yes” I next get a message to say “Please wait till you are prompted to refocus. Do not make any changes. Click OK to continue. I can then see the Temp refresh messages in the Status window but despite temperature changes exceeding 3 degrees don’t get another prompt no matter how long I wait.
              I have attached another log file with this sequence followed as detailed.
              I appreciate your time and effort helping.
              Mike
              Sent from Mail for Windows 10
              From: Michael O'Brien
              Sent: 30 January 2021 13:00
              To: [arduinoascomfocuserpro2diy:discussion]
              Subject: [arduinoascomfocuserpro2diy:discussion] Re: Temp Compensation not working
              Hi Robert
              I have definitely been pressing “start recording” and then getting the message " Have you focused the telescope and are ready to begin?” which I respond by pressing “Yes” I then get the message telling me that the application is ready to to save the current focuser position and temperature values as the first reading. To which I press “Yes” I next get a message to say “Please wait till you are prompted to refocus. Do not make any changes. Click OK to continue. I can then see the Temp refresh messages in the Status window but despite temperature changes exceeding 3 degrees don’t get another prompt no matter how long I wait.
              I have attached another log file with this sequence followed as detailed.
              I appreciate your time and effort helping.
              Mike
              Sent from Mail for Windows 10
              From: brownrb
              Sent: 30 January 2021 11:49
              To: [arduinoascomfocuserpro2diy:discussion]
              Subject: [arduinoascomfocuserpro2diy:discussion] Re: Temp Compensation not working
              My Bad
              Focuser supports temperature compensation
              29/01/2021 23:14:53: Connect: Get status of temperature compensation
              29/01/2021 23:14:53: Connect: response = 10#
              Temperature compensation is off
              29/01/2021 23:14:54: Connect: Get Temperature
              29/01/2021 23:14:54: Connect: Send command to focuser
              29/01/2021 23:14:54: Connect: response = Z23.0#
              Temperature is 23.0
              29/01/2021 23:15:18: getTempCompSetting:: Get temp conp status
              29/01/2021 23:15:18: getTempCompSetting:: response = 11#
              29/01/2021 23:15:18: getTempCompSetting:: Get temperature coefficient
              29/01/2021 23:15:18: getTempCompSetting:: response = B232#
              29/01/2021 23:15:18: getTempCompSetting:: Get temp comp direction
              29/01/2021 23:15:18: getTempCompSetting:: response = k0#
              temperature compensation now ON
              temperature cofficient - motor steps per degree = 232
              temp compensation direction = 0
              This is where things go wrong
              29/01/2021 23:16:20: CalculateTemperatuerCoefficient:
              You clicked on the Menu Item calculateTemperatureCoefficient
              =START=========================================================
              29/01/2021 23:16:20: CalculateTemperatuerCoefficient: DIVIDE BY ZERO EXCEPTION
              System.DivideByZeroException: Attempted to divide by zero.
              at myFocuserPro2.Focuser.calculateTemperatureCoefficientMenuItem_Click(Object sender, EventArgs e)
              This is an error::::::::
              YOU SHOULD HAVE CLICKED START RECORDING FROM THE MENU
              I MAY HAVE TOLD YOU TO CLICK THE WRONG MENU OPTION
              START RECORDING IS WHAT YOU SHOULD HAVE CLICKED
              The calculateTemperatureCoefficient menu option can only be clicked
              when you have readings - so it fails because no readings were taken -
              because it is "start recording" that takes the readings first
              PLEASE RETRY EXERCISE WITH THE CORRECTED MENU OPTION AND POST THE LOGFILE
              Temp Compensation not working
              Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
              To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
              Temp Compensation not working
              Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
              To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

              Temp Compensation not working

              Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/arduinoascomfocuserpro2diy/discussion/general/
              To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

               
  • Saahil Sinha

    Saahil Sinha - 2021-01-30
     

    Last edit: Saahil Sinha 2021-01-30
  • brownrb

    brownrb - 2021-01-31

    I believe I said in an earlier email

    and follow the steps outlined and follow through as far as you can get - (the procedure is outlined in the PDF pg 150 onwards), - during which you should see status messages related to the temperature readings every few seconds -
    this code waits for the temperature to drop by 3 degrees, if it does not it will wait forerver

    So normally this is how you would do this - set up the telescope just before dusk - you only need a connection to the focuser, not the mount. Occassionaly every 30s or so monitor the temperature. You need to position the probe to measure the temperature of the focuser tube, of course for a SCT there is no focuser tube so I used to mount the probe about half way down the telescope tube between the front corrector plate and the rear of the SCT.
    When you see the temperature start to fall, As the sun goes away, start the temperature compensation from the menu
    Once completed (or as far as you get), then exit the application and post the log file for me to review.
    

    From your posted log it it is very clear that you did not do this. You actually warmed UP the probe because the temperature rises, not falls. There are no shortcuts here. We write the code to behave under certain conditions, and then we document what needs to be followed for the code to work.

    So if you change the conditions, you cannot expect the code to work right?

    The key important part is above
    When you see the temperature start to fall,
    but in your case, I see is the temperature rising, so no wonder it failed.

    I believe that you have been possibly holding the probe in your hand to warm it up. But - again that contradicts the instructions yes?

    I mean you could have dunked the probe in Icy water to get it to cool down yes? BUT, that aint a good thing to do because the purpose of the calibration is to be able to determine the correct temperature coefficient value that that temperature compensation is applied correctly to your telescope when you "enable" it. Dunking it in icy water gives a value you would never be able to use in real life.

    There really are no shortcuts in Astronomy and sometimes we just gotta read the manual.

    Regards
    Robert

     

    Last edit: brownrb 2021-01-31

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.