Util.EnforceSlewLimits() Method

Raise error if coordinates violate configured slew limits.

Syntax

Util.EnforceSlewLimits(RightAscension, Declination)

The method syntax has these parts:

Part Description
RightAscension (Double) target right ascension (hours)
Declination (Double) target declination (degrees)
Return (Boolean) True if target coordinates are OK, raise error if outside configured limits.

Remarks

These limits are enforced internally by ACP for any manual or scripted slews.

The limits are established by the telescope minimum elevation setting, the telescope OTA tilt-up setting (except for German equatorial mounts), and the configured horizon for the azimuth resulting from the given coordinates.

NOTE: No value is returned if the target is outside limits. Instead an error is raised. Do not test the return value for False; it will never work.