Results 1 to 10 of 13

Threaded View

  1. #4

    Default

    I have made sure that USB suspend is disabled. So that can't be it. The driver ran last night through the device hub and did crash faithfully sometime in the morning. Attached is the trace from the device hub. It crashed when trying to set tracking to false (although the same command had succeeded in the past in the same log). So it's not a fundamental problem with the call itself. Something else is going on.

    I figured it might be something like a memory leak, or maybe an issue with caching where one too many requests too frequently causes it to crash, so created this simple script to stress it out. And ran it for 500 iterations with no delay. And it does not crash. In task manager I don't notice the memory ballooning either. So it does not seem like a memory leak. Not I could run this for many more cycles, but not sure if that's productive.

    var numRuns = WScript.Arguments.Item(0);
    var delay = WScript.Arguments.Item(1);


    WScript.Echo("Doing a " + numRuns + " runs...");
    var mount = new ActiveXObject("ASCOM.tenmicron_mount.Telescope");


    mount.Connected = true;


    var i = 0;
    while (i < numRuns) {
    WScript.Echo(i);
    mount.CanSetTracking();
    mount.RightAscension();
    mount.Declination();
    mount.AtPark();
    mount.Slewing();
    mount.Tracking();
    mount.SideOfPier();
    mount.Tracking = false;
    i++;
    WScript.Sleep(delay);
    }
    mount.connected = false;

    So it looks like there is some unique thing that's going on between 10micron ascom driver and ACP that is causing this Running out of ideas on how to debug this.

    On other forums and the interwebs in general I not found any mention of this sort of a problem and I have been working with Ed, who also mentions that he has not seen this with others!

    My system is plain vanilla. I can't think of anything that is super unique about it or the installation so far. So not sure why I am the statistical outlier here. Such a bummer.
    Attached Files Attached Files

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ASCOM AstroHaven driver
    By Dick Berg in forum Hardware/Software/Driver Topics Not Directly Related to Our Software
    Replies: 3
    Last Post: Jun 11, 2018, 15:07
  2. Astrohaven ASCOM driver?
    By Glenn Gaunt in forum Hardware/Software/Driver Topics Not Directly Related to Our Software
    Replies: 18
    Last Post: May 2, 2016, 16:28
  3. Is it better to use the native or ASCOM driver?
    By Paul Luckas in forum Hardware/Software/Driver Topics Not Directly Related to Our Software
    Replies: 2
    Last Post: Feb 11, 2012, 03:20
  4. Help getting chooser to find new ASCOM driver
    By Paul Luckas in forum Hardware/Software/Driver Topics Not Directly Related to Our Software
    Replies: 2
    Last Post: Feb 4, 2012, 10:48
  5. AP1200 V2 Ascom Driver
    By Dave McDonald in forum Hardware/Software/Driver Topics Not Directly Related to Our Software
    Replies: 4
    Last Post: Sep 2, 2010, 20:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •