Page 1 of 1

invalid equatorial coordinates

Posted: 03 May 2022, 13:55
by ryu.s1001
I have encountered the error "invalid equatorial coordinates: -1.00 -1.00" with Astroart 8.0's script
It occurs at reading (ra,dec) from the list described other in text file and Telescope.GOTO(ra,dec).

This error does not occur every time, but often it does not occur.
Also, it is not reproducible and I do not know under what conditions it occurs.

Has anyone else encountered this error?

Ryu

Re: invalid equatorial coordinates

Posted: 06 May 2022, 18:01
by fabdev
Hi, "-1.00 -1.00" is returned by the Telescope.List(..) when the index is out of bounds. The lower bound is 1, the upper bound is the number of objects which can be found with the function Telescope.List.Count.
Fabio.