AHP® GT Controllers API
AHP GT Controllers
|
Functions | |
DLL_EXPORT MountType | ahp_gt_get_mount_type (void) |
Get the current GT mount type. | |
DLL_EXPORT int | ahp_gt_get_axes_limit (void) |
Get the current GT controller axis number limit. | |
DLL_EXPORT GTFeature | ahp_gt_get_feature (int axis) |
Get the current GT features. | |
DLL_EXPORT SkywatcherFeature | ahp_gt_get_features (int axis) |
Get the current SkyWatcher features. | |
DLL_EXPORT double | ahp_gt_get_motor_steps (int axis) |
Get the current motor steps number. | |
DLL_EXPORT double | ahp_gt_get_motor_teeth (int axis) |
Get the current motor gear teeth number. | |
DLL_EXPORT double | ahp_gt_get_worm_teeth (int axis) |
Get the current worm gear teeth number. | |
DLL_EXPORT double | ahp_gt_get_crown_teeth (int axis) |
Get the current crown gear teeth number. | |
DLL_EXPORT double | ahp_gt_get_divider (int axis) |
Get the divider in the current configuration. | |
DLL_EXPORT double | ahp_gt_get_multiplier (int axis) |
Get the multiplier in the current configuration. | |
DLL_EXPORT int | ahp_gt_get_totalsteps (int axis) |
Get the total number of steps. | |
DLL_EXPORT int | ahp_gt_get_wormsteps (int axis) |
Get the worm number of steps. | |
DLL_EXPORT double | ahp_gt_get_guide_steps (int axis) |
Get the guiding rate. | |
DLL_EXPORT double | ahp_gt_get_acceleration_steps (int axis) |
Get the acceleration increment steps number. | |
DLL_EXPORT double | ahp_gt_get_acceleration_angle (int axis) |
Get the acceleration angle. | |
DLL_EXPORT int | ahp_gt_get_rs232_polarity (void) |
Get the rs232 port polarity. | |
DLL_EXPORT int | ahp_gt_get_pwm_frequency (int axis) |
Get the microstepping pwm frequency. | |
DLL_EXPORT int | ahp_gt_get_direction_invert (int axis) |
Get the forward direction. | |
DLL_EXPORT GTFlags | ahp_gt_get_mount_flags (void) |
Get the mount flags. | |
DLL_EXPORT GTSteppingConfiguration | ahp_gt_get_stepping_conf (int axis) |
Get the stepping configuration. | |
DLL_EXPORT GTSteppingMode | ahp_gt_get_stepping_mode (int axis) |
Get the stepping mode. | |
DLL_EXPORT double | ahp_gt_get_max_speed (int axis) |
Get the maximum speed. | |
DLL_EXPORT double | ahp_gt_get_speed_limit (int axis) |
Get the speed limit. | |
DLL_EXPORT double | ahp_gt_get_timing (int axis) |
Get the timing value of the axis. | |
DLL_EXPORT void | ahp_gt_set_timing (int axis, int value) |
Set the timing value of the axis. | |
DLL_EXPORT void | ahp_gt_set_mount_type (MountType value) |
Set the mount type. | |
DLL_EXPORT void | ahp_gt_copy_axis (int axis, int value) |
Set the GT controller axis number. | |
DLL_EXPORT const char * | ahp_gt_axis_name (int axis) |
Get the GT controller axis name. | |
DLL_EXPORT void | ahp_gt_set_axes_limit (int value) |
Set the GT controller axis number limit. | |
DLL_EXPORT void | ahp_gt_set_features (int axis, SkywatcherFeature value) |
Set the Skywatcher features. | |
DLL_EXPORT void | ahp_gt_set_feature (int axis, GTFeature value) |
Set the GT features. | |
DLL_EXPORT void | ahp_gt_set_motor_steps (int axis, double value) |
Set the motor steps number. | |
DLL_EXPORT void | ahp_gt_set_motor_teeth (int axis, double value) |
Set the motor gear teeth number. | |
DLL_EXPORT void | ahp_gt_set_worm_teeth (int axis, double value) |
Set the worm gear teeth number. | |
DLL_EXPORT void | ahp_gt_set_crown_teeth (int axis, double value) |
Set the crown gear teeth number. | |
DLL_EXPORT void | ahp_gt_set_divider (int axis, int value) |
Set the divider in the current configuration. | |
DLL_EXPORT void | ahp_gt_set_multiplier (int axis, int value) |
Set the multiplier in the current configuration. | |
DLL_EXPORT void | ahp_gt_set_totalsteps (int axis, int value) |
Set the total number of steps. | |
DLL_EXPORT void | ahp_gt_set_wormsteps (int axis, int value) |
Set the worm number of steps. | |
DLL_EXPORT void | ahp_gt_set_guide_steps (int axis, double value) |
Set the guiding speed. | |
DLL_EXPORT void | ahp_gt_limit_intensity (int axis, int value) |
Limit the axis in intensity. | |
DLL_EXPORT int | ahp_gt_is_intensity_limited (int axis) |
Query if the axis is intensity limited. | |
DLL_EXPORT void | ahp_gt_set_intensity_limit (int axis, double value) |
Set the intensity limit. | |
DLL_EXPORT double | ahp_gt_get_intensity_limit (int axis) |
Get the intensity limit. | |
void | ahp_gt_set_voltage (int axis, double value) |
Set the voltage for intensity or intensity estimation. | |
void | ahp_gt_add_intensity_deviator (int axis, gt_deviator deviator) |
Add an intensity deviator for the intensity estimation. | |
double | ahp_gt_get_intensity_deviation (int axis, double freq) |
Get the intensity or intensity estimated at a given frequency. | |
DLL_EXPORT void | ahp_gt_set_acceleration_angle (int axis, double value) |
Set the acceleration in high speed mode. | |
DLL_EXPORT void | ahp_gt_set_rs232_polarity (int value) |
Set the rs232 port polarity. | |
DLL_EXPORT void | ahp_gt_set_pwm_frequency (int axis, int value) |
Set the microstepping pwm frequency. | |
DLL_EXPORT void | ahp_gt_set_direction_invert (int axis, int value) |
Set the forward direction. | |
DLL_EXPORT void | ahp_gt_set_mount_flags (GTFlags value) |
Set the mount flags. | |
DLL_EXPORT void | ahp_gt_set_stepping_conf (int axis, GTSteppingConfiguration value) |
Set the stepping configuration. | |
DLL_EXPORT void | ahp_gt_set_stepping_mode (int axis, GTSteppingMode value) |
Set the stepping mode. | |
DLL_EXPORT void | ahp_gt_set_max_speed (int axis, double value) |
Set the maximum goto speed. |
void ahp_gt_add_intensity_deviator | ( | int | axis, |
gt_deviator | deviator ) |
axis | The motor to reconfigure |
deviator | The estimator a second order polynome describing the deviation |
DLL_EXPORT const char * ahp_gt_axis_name | ( | int | axis | ) |
axis | The motor axis number |
DLL_EXPORT void ahp_gt_copy_axis | ( | int | axis, |
int | value ) |
axis | The motor old axis number |
value | The motor axis number |
DLL_EXPORT double ahp_gt_get_acceleration_angle | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_acceleration_steps | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT int ahp_gt_get_axes_limit | ( | void | ) |
DLL_EXPORT double ahp_gt_get_crown_teeth | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT int ahp_gt_get_direction_invert | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_divider | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT GTFeature ahp_gt_get_feature | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT SkywatcherFeature ahp_gt_get_features | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_guide_steps | ( | int | axis | ) |
axis | The motor to query |
double ahp_gt_get_intensity_deviation | ( | int | axis, |
double | freq ) |
freq | The frequency at will be measured |
DLL_EXPORT double ahp_gt_get_intensity_limit | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_max_speed | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_motor_steps | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_motor_teeth | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT MountType ahp_gt_get_mount_type | ( | void | ) |
DLL_EXPORT double ahp_gt_get_multiplier | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT int ahp_gt_get_pwm_frequency | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT int ahp_gt_get_rs232_polarity | ( | void | ) |
DLL_EXPORT double ahp_gt_get_speed_limit | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT GTSteppingConfiguration ahp_gt_get_stepping_conf | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT GTSteppingMode ahp_gt_get_stepping_mode | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_timing | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT int ahp_gt_get_totalsteps | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT double ahp_gt_get_worm_teeth | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT int ahp_gt_get_wormsteps | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT int ahp_gt_is_intensity_limited | ( | int | axis | ) |
axis | The motor to query |
DLL_EXPORT void ahp_gt_limit_intensity | ( | int | axis, |
int | value ) |
axis | The motor to reconfigure |
value | pass 1 to limit the axis |
DLL_EXPORT void ahp_gt_set_acceleration_angle | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The angle in radians to cover to reach full speed after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_axes_limit | ( | int | value | ) |
value | The motor axis number limit |
DLL_EXPORT void ahp_gt_set_crown_teeth | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The crown gear teeth for autoconfiguration after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_direction_invert | ( | int | axis, |
int | value ) |
axis | The motor to reconfigure |
value | If 1 is passed the direction of this axis will be inverted after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_divider | ( | int | axis, |
int | value ) |
axis | The motor to reconfigure |
value | The step divider value after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_feature | ( | int | axis, |
GTFeature | value ) |
axis | The motor to reconfigure |
value | The GTFeature after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_features | ( | int | axis, |
SkywatcherFeature | value ) |
axis | The motor to reconfigure |
value | The SkywatcherFeature after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_guide_steps | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The guiding speed in radians per second after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_intensity_limit | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The intensity limit |
DLL_EXPORT void ahp_gt_set_max_speed | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The maximum speed of this axis in radians per second after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_motor_steps | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The motor steps for autoconfiguration after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_motor_teeth | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The motor teeth for autoconfiguration after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_mount_flags | ( | GTFlags | value | ) |
value | Only isForkMount and torqueControl are supported at the moment |
DLL_EXPORT void ahp_gt_set_mount_type | ( | MountType | value | ) |
value | The MountType after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_multiplier | ( | int | axis, |
int | value ) |
axis | The motor to reconfigure |
value | The microsteps each step in high-speed mode after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_pwm_frequency | ( | int | axis, |
int | value ) |
axis | The motor to reconfigure |
value | The microstepping PWM frequency index after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_rs232_polarity | ( | int | value | ) |
value | If 1 is passed communication port polarity will be inverted after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_stepping_conf | ( | int | axis, |
GTSteppingConfiguration | value ) |
axis | The motor to reconfigure |
value | The GTSteppingConfiguration of this axis after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_stepping_mode | ( | int | axis, |
GTSteppingMode | value ) |
axis | The motor to reconfigure |
value | The GTSteppingMode of this axis after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_timing | ( | int | axis, |
int | value ) |
axis | The motor to query |
value | The timing value |
DLL_EXPORT void ahp_gt_set_totalsteps | ( | int | axis, |
int | value ) |
axis | The motor to reconfigure |
value | The total number of steps after ahp_gt_write_values |
void ahp_gt_set_voltage | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The voltage or constant used as |
DLL_EXPORT void ahp_gt_set_worm_teeth | ( | int | axis, |
double | value ) |
axis | The motor to reconfigure |
value | The worm gear teeth for autoconfiguration after ahp_gt_write_values |
DLL_EXPORT void ahp_gt_set_wormsteps | ( | int | axis, |
int | value ) |
axis | The motor to reconfigure |
value | The worm number of steps after ahp_gt_write_values |