Slight modification to make sure that the focuser is poked less often
This commit is contained in:
@@ -15,8 +15,9 @@
|
|||||||
|
|
||||||
<Property Id="REGISTRYROOT" Value="Software\Cjdawson.com Ltd\Database Patcher" />
|
<Property Id="REGISTRYROOT" Value="Software\Cjdawson.com Ltd\Database Patcher" />
|
||||||
|
|
||||||
|
<PropertyRef Id="NETFRAMEWORK40FULL"/>
|
||||||
<Condition Message="This application requires .NET Framework 4.0 or higher. Please install the .NET Framework then run this installer again.">
|
<Condition Message="This application requires .NET Framework 4.0 or higher. Please install the .NET Framework then run this installer again.">
|
||||||
<![CDATA[Installed OR NETFRAMEWORK40]]>
|
<![CDATA[Installed OR NETFRAMEWORK40FULL]]>
|
||||||
</Condition>
|
</Condition>
|
||||||
|
|
||||||
<!--todo create a method to check if ASCOM is installed.-->
|
<!--todo create a method to check if ASCOM is installed.-->
|
||||||
|
|||||||
@@ -352,13 +352,13 @@ namespace ASCOM.Meade.net
|
|||||||
|
|
||||||
//A single halt command is sometimes missed by the #909 apm, so let's do it a few times to be safe.
|
//A single halt command is sometimes missed by the #909 apm, so let's do it a few times to be safe.
|
||||||
Stopwatch stopwatch = Stopwatch.StartNew();
|
Stopwatch stopwatch = Stopwatch.StartNew();
|
||||||
while (stopwatch.ElapsedMilliseconds < 200)
|
while (stopwatch.ElapsedMilliseconds < 1000)
|
||||||
{
|
{
|
||||||
SharedResources.SendBlind(":FQ#");
|
SharedResources.SendBlind(":FQ#");
|
||||||
//:FQ# Halt Focuser Motion
|
//:FQ# Halt Focuser Motion
|
||||||
//Returns: Nothing
|
//Returns: Nothing
|
||||||
|
|
||||||
utilities.WaitForMilliseconds(50);
|
utilities.WaitForMilliseconds(250);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -461,7 +461,7 @@ namespace ASCOM.Meade.net
|
|||||||
//:F-# Start Focuser moving outward (away from objective)
|
//:F-# Start Focuser moving outward (away from objective)
|
||||||
//Returns: None
|
//Returns: None
|
||||||
|
|
||||||
utilities.WaitForMilliseconds(50);
|
utilities.WaitForMilliseconds(250);
|
||||||
}
|
}
|
||||||
|
|
||||||
Halt();
|
Halt();
|
||||||
|
|||||||
Reference in New Issue
Block a user