×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

C# solution to query telescope J2000 position

  • Posts: 112
  • Thank you received: 6
Hey Folks
I'm running Kstars and Ekos but need a C# solution to query the telescope position one time to update a script.
I've used two different C# INDI libraries I've found but they are way too complicated for what I'm trying to do and don't work reliably.

Does anyone know of a simple C# script to query the mount and return the J2000 coordinates it is currently at?

Thanks!

David
7 months 3 days ago #95909

Please Log in or Create an account to join the conversation.

  • Posts: 358
  • Thank you received: 114
Maybe try to run indi_getprop?

indi_getprop "Telescope Simulator.EQUATORIAL_EOD_COORD.RA" "Telescope Simulator.EQUATORIAL_EOD_COORD.DEC"

More info indilib.org/develop/developer-manual/104-scripting.html
7 months 2 days ago #95948

Please Log in or Create an account to join the conversation.

Time to create page: 0.324 seconds