Changed the code to detect any exception when trying to run a :GVP after the initial connect.
This commit is contained in:
@@ -260,7 +260,7 @@ namespace ASCOM.Meade.net
|
|||||||
ProductName = SendString(":GVP#");
|
ProductName = SendString(":GVP#");
|
||||||
FirmwareVersion = SendString(":GVN#");
|
FirmwareVersion = SendString(":GVN#");
|
||||||
}
|
}
|
||||||
catch (TimeoutException)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
ProductName = TelescopeList.LX200CLASSIC;
|
ProductName = TelescopeList.LX200CLASSIC;
|
||||||
FirmwareVersion = "Unknown";
|
FirmwareVersion = "Unknown";
|
||||||
|
|||||||
Reference in New Issue
Block a user