|
AHP® GT Controllers API
AHP GT Controllers
|
Topics | |
| Astronomy specific | |
Functions | |
| DLL_EXPORT SkywatcherAxisStatus | ahp_gt_get_status (int axis) |
| Get an axis status. | |
| DLL_EXPORT double | ahp_gt_get_position (int axis, double *timestamp) |
| Get the axis position. | |
| DLL_EXPORT void | ahp_gt_set_position (int axis, double value) |
| Set the axis position in radians. | |
| DLL_EXPORT int | ahp_gt_is_axis_moving (int axis) |
| Determine if an axis is moving. | |
| DLL_EXPORT void | ahp_gt_stop_motion (int axis, int wait) |
| Stop an axis motion. | |
| DLL_EXPORT void | ahp_gt_start_motion (int axis, double speed) |
| Move an axis. | |
| DLL_EXPORT void | ahp_gt_goto_relative (int axis, double increment, double speed) |
| Move an axis by an offset. | |
| DLL_EXPORT void | ahp_gt_goto_absolute (int axis, double target, double speed) |
| Move an axis to a position. | |
| DLL_EXPORT double ahp_gt_get_position | ( | int | axis, |
| double * | timestamp ) |
| axis | The motor to query |
| timestamp | The timestamp of the response |
| DLL_EXPORT SkywatcherAxisStatus ahp_gt_get_status | ( | int | axis | ) |
| axis | The motor to query |
| DLL_EXPORT void ahp_gt_goto_absolute | ( | int | axis, |
| double | target, | ||
| double | speed ) |
| axis | The motor to move |
| target | The position to reach by the specified axis in radians |
| speed | The radial speed in radians per second |
| DLL_EXPORT void ahp_gt_goto_relative | ( | int | axis, |
| double | increment, | ||
| double | speed ) |
| axis | The motor to move |
| increment | The position offset to cover by the specified axis in radians |
| speed | The radial speed in radians per second |
| DLL_EXPORT int ahp_gt_is_axis_moving | ( | int | axis | ) |
| axis | The motor to query |
| DLL_EXPORT void ahp_gt_set_position | ( | int | axis, |
| double | value ) |
| axis | The motor to configure |
| value | The position to set on the specified axis in radians |
| DLL_EXPORT void ahp_gt_start_motion | ( | int | axis, |
| double | speed ) |
| axis | The motor to move |
| speed | The radial speed in radians per second |
| DLL_EXPORT void ahp_gt_stop_motion | ( | int | axis, |
| int | wait ) |
| axis | The motor to stop |
| wait | If 1 this function will block until the axis stops completely, 0 code flow will continue |