Jump to content

Canada's top-tier Telescopes & Accessories
Be as specific as possible when reporting issues and *ALWAYS* include the full version number of the application you are using and your exact *CAMERA MODEL*
NEVER POST YOUR KEY IN ANY PUBLIC FORUM, INCLUDING THE O'TELESCOPE SUPPORT FORUM ::: IF YOU DO YOUR KEY WILL BE DEACTIVATED WITHOUT NOTICE!
  • 0

No Connection to Rigel NFocus


astroguy8730

Question

 I am newb with BYN.  I have ES127ED scope on iOptron iEQ45 mount and Rigel Systems NFocus USB focuser. I use BYN trial version to test with Nikon D5300. I see already there is topic on iOptron that cannot connect until new version. I also get alarm bell and message that there is no connect to NFocus but I know ASCOM driver installed and working separately. Is this normal to have no focusing?   

Link to comment
Share on other sites

  • Answers 13
  • Created
  • Last Reply

13 answers to this question

Recommended Posts

If other ASCOM focuser client applications are able to connect to your focuser then BYN will connect.

 

What do you mean by "working separately"? Often device manufacturers provide a program that will communicate with the device using the native protocol. They do not use, or rely on, ASCOM. So if the native app works it means that the device is functional and that the cable is working. The first thing that I would check are parameter settings in the ASCOM driver setup dialog.

Link to comment
Share on other sites

This is the error in your log file.

 

2017-03-25 14:26:49,580 [Main] ERROR - Input string was not in a correct format.
2017-03-25 14:26:49,580 [Main] ERROR -    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at System.String.System.IConvertible.ToInt16(IFormatProvider provider)
   at System.Convert.ToInt16(Object value)
   at ASCOM.DriverAccess.AscomDriver.get_InterfaceVersion() in c:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:line 274
   at ASCOM.DriverAccess.AscomDriver..ctor(String deviceProgId) in c:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:line 51
   at BinaryRivers.ASCOM.Platform60.FocuserASCOM.Connect(String drivername)
2017-03-25 14:26:49,580 [Main] ERROR - Input string was not in a correct format.
2017-03-25 14:26:49,580 [Main] ERROR -    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
   at System.String.System.IConvertible.ToInt16(IFormatProvider provider)
   at System.Convert.ToInt16(Object value)
   at ASCOM.DriverAccess.AscomDriver.get_InterfaceVersion() in c:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:line 274
   at ASCOM.DriverAccess.AscomDriver..ctor(String deviceProgId) in c:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:line 51
   at BinaryRivers.ASCOM.Platform60.FocuserASCOM.Connect(String drivername)
2017-03-25 14:26:49,596 [Main] INFO  - ASCOM Focuser disconnected (or unable to connect).
 
 
What is the name of the focuser (from the ASCOM chooser dialog) you are trying to connect?
Link to comment
Share on other sites

2017-03-25 14:26:49,580 [Main] ERROR - Input string was not in a correct format.

2017-03-25 14:26:49,580 [Main] ERROR -    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)

   at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)

   at System.String.System.IConvertible.ToInt16(IFormatProvider provider)

   at System.Convert.ToInt16(Object value)

   at ASCOM.DriverAccess.AscomDriver.get_InterfaceVersion() in c:\ASCOM Build\Export\ASCOM.DriverAccess\AscomDriver.cs:line 274

 

 

This is where ASCOM throws the error, in getting the InterfaceVersion at line 274 in AscomDriver.cs.  This is an ASCOM issue.  What I don't understand is why other program using the same ASCOM driver do connect.  I'm stumped.  From a pure code perspective this is an ASCOM bug, but since other programs are working it appears to be a BYE bug... but I can't figure out why yet :(

 

Regards,

Link to comment
Share on other sites

There is something strange going on with your focuser driver. I cannot see how you can communicate with the focuser from other ASCOM apps. The exception is happening when BYN constructs the focuser object and the exception is thrown by the ASCOM driver base class, AscomDriver when it gets the Interface version from the derived driver class.

 

If you are not a programmer, then my analysis will likely leave you scratching your head, but it will mean something to Guylain.

 

The fact that nobody else has reported problems connecting to their focuser means that the code in BYN is sound and that there is some ASCOM-related issue with your focuser driver. I would suggest contacting Rigel Systems for help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Important Information

This site uses cookies to offer your a better browsing experience. You can adjust your cookie settings. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies, our Privacy Policy, and our Terms of Use