Menu

Need help with C# Telescope Server

Feedback
Anonymous
2014-07-21
2015-09-21
  • Anonymous

    Anonymous - 2014-07-21

    Hi all

    I was hoping that someone here could help me.
    I am writing a telescope server application in C# that will act as a proxy between ASCOM and Stellarium. I am a total newbie at C# (I know some C++) and I am struggling at send the scope's position to Stellarium.
    I found an example of how to do this in C++ here:
    https://svn.code.sf.net/p/stellarium/code/trunk/telescope_server/src/Connection.cpp (all at the bottom) but for the live of me cannot figure out how to convert that code to C#.
    I already have the telescope coords from ASCOM, connect to Stellarium and can issue GoTo's, but I just cant get the reticle to show up.
    Could anyone help me with sending the proper bytes to Stellarium so that the reticle shows up?

    Thanks
    Martin

     
  • Anonymous

    Anonymous - 2014-07-21

    Thanks for pointing me to the new code. There's no difference in the code that sends the position that makes me understand it better to be able to translate it to C#.

    Thanks
    Martin

     
  • Anonymous

    Anonymous - 2014-07-22

    Well the shifting wasn't the problem, it was getting it into a byte array in the proper manner. But I have figured it out now, everything works :-)
    Thanks for the links and the help.

    Martin