SIDX 7
|
File containing SIDX stage usage for reference. More...
#include "SIDXCConstants.h"
Go to the source code of this file.
Functions | |
int | SIDXStageAccelerateGetLimitXY (void *SIDXstage, double &maximum) |
Gets the maximum acceleration during stage movement for the X and Y axes in meters/second^2. More... | |
int | SIDXStageAccelerateGetLimitZ (void *SIDXstage, double &maximum) |
Gets the maximum acceleration during stage movement for the Z axis in meters/second^2. More... | |
int | SIDXStageAccelerateGetXY (void *SIDXstage, double &acceleration) |
Gets the acceleration during stage movement for the X and Y axes as a fraction of maximum acceleration. More... | |
int | SIDXStageAccelerateGetZ (void *SIDXstage, double &acceleration) |
Gets the acceleration during stage movement for the Z axis as a fraction of maximum acceleration. More... | |
int | SIDXStageAccelerateSetXY (void *SIDXstage, double acceleration) |
Sets the acceleration during stage movement for the X and Y axes as a fraction of maximum acceleration. More... | |
int | SIDXStageAccelerateSetZ (void *SIDXstage, double acceleration) |
Sets the acceleration during stage movement for the Z axis as a fraction of maximum acceleration. More... | |
int | SIDXStageAxisEnableXY (void *SIDXstage, bool x_enable, bool y_enable) |
Enables and disables motorized control of the stage axes. More... | |
int | SIDXStageAxisEnableZ (void *SIDXstage, bool z_enable) |
Enables and disables motorized control of the focus axis. More... | |
int | SIDXStageAxisExistsXY (void *SIDXstage, bool &motorized) |
Gets the motorized status of the X and Y axes. More... | |
int | SIDXStageAxisExistsZ (void *SIDXstage, bool &motorized) |
Gets the motorized status of the Z axis. More... | |
int | SIDXStageBacklashExists (void *SIDXstage, bool &control) |
Gets whether backlash control is available on this stage. More... | |
int | SIDXStageBacklashGetXY (void *SIDXstage, double &distance) |
Gets the backlash distance for the X and Y axes, measured in meters. More... | |
int | SIDXStageBacklashGetZ (void *SIDXstage, double &distance) |
Gets the backlash distance for the Z axis, measured in meters. More... | |
int | SIDXStageBacklashSetXY (void *SIDXstage, double distance) |
Sets the backlash distance for the X and Y axes, measured in meters. More... | |
int | SIDXStageBacklashSetZ (void *SIDXstage, double distance) |
Sets the backlash distance for the Z axis, measured in meters. More... | |
int | SIDXStageClose (void *SIDXstage) |
Close the stage controller. More... | |
int | SIDXStageJoystickDisable (void *SIDXstage) |
Sets the stage's attached joystick to be disabled. More... | |
int | SIDXStageJoystickEnable (void *SIDXstage) |
Sets the stage's attached joystick to be enabled. More... | |
int | SIDXStageJoystickSetMovementXY (void *SIDXstage, bool x_right, bool y_right, double fraction) |
Sets the direction and speed of the X and Y axis controls for stage's attached joystick. More... | |
int | SIDXStageJoystickSetMovementZ (void *SIDXstage, bool z_up, double fraction) |
Sets the direction and speed of the Z axis control for stage's attached joystick. More... | |
int | SIDXStageLimitIsXMinus (void *SIDXstage, bool &limit) |
Gets whether the lower limit switch associated with the X axis was set during the last successful limit query. More... | |
int | SIDXStageLimitIsXPlus (void *SIDXstage, bool &limit) |
Gets whether the upper limit switch associated with the X axis was set during the last successful limit query. More... | |
int | SIDXStageLimitIsXY (void *SIDXstage, bool &limit) |
Gets whether any of the limit switches associated with the X or Y axes were set during the last successful limit query. More... | |
int | SIDXStageLimitIsXYZ (void *SIDXstage, bool &limit) |
Gets whether any of the limit switches associated with the X, Y or Z axes were set during the last successful limit query. More... | |
int | SIDXStageLimitIsYMinus (void *SIDXstage, bool &limit) |
Gets whether the lower limit switch associated with the Y axis was set during the last successful limit query. More... | |
int | SIDXStageLimitIsYPlus (void *SIDXstage, bool &limit) |
Gets whether the upper limit switch associated with the Y axis was set during the last successful limit query. More... | |
int | SIDXStageLimitIsZ (void *SIDXstage, bool &limit) |
Gets whether either of the limit switches associated with the Z axis were set during the last successful limit query. More... | |
int | SIDXStageLimitIsZMinus (void *SIDXstage, bool &limit) |
Gets whether the lower limit switch associated with the Z axis was set during the last successful limit query. More... | |
int | SIDXStageLimitIsZPlus (void *SIDXstage, bool &limit) |
Gets whether the upper limit switch associated with the Z axis was set during the last successful limit query. More... | |
int | SIDXStageLimitQuery (void *SIDXstage) |
Queries the current stage limit switch values. More... | |
int | SIDXStageMotorAccelerateGet (void *SIDXstage, int motor, double &acceleration) |
Gets the acceleration during stage movement for the specified motor as a fraction of maximum acceleration. More... | |
int | SIDXStageMotorAccelerateSet (void *SIDXstage, int motor, double acceleration) |
Sets the acceleration during stage movement for the specified motor as a fraction of maximum acceleration. More... | |
int | SIDXStageMotorBacklashExists (void *SIDXstage, int motor, bool &available) |
Gets whether backlash control is available on the specified motor. More... | |
int | SIDXStageMotorBacklashGet (void *SIDXstage, int motor, double &distance) |
Gets the backlash distance for the specified motor, in meters. More... | |
int | SIDXStageMotorBacklashSet (void *SIDXstage, int motor, double distance) |
Sets the backlash distance for the specified motor, in meters. More... | |
int | SIDXStageMotorExists (void *SIDXstage, int motor, bool &installed) |
Gets whether the specified motor is currently installed. More... | |
int | SIDXStageMotorGetByName (void *SIDXstage, const wchar_t *name, int &motor) |
Gets the handle to the specified motor. More... | |
int | SIDXStageMotorGetCount (void *SIDXstage, int &identifiers) |
Gets the number of different motor identifiers. More... | |
int | SIDXStageMotorGetName (void *SIDXstage, int motor, wchar_t *name, size_t length) |
Gets the name corresponding to the specified motor number. More... | |
int | SIDXStageMotorLimit (void *SIDXstage, int motor, bool &limit) |
Gets whether either of the limit switches associated with the specified motor is currently set. More... | |
int | SIDXStageMotorLimitMinus (void *SIDXstage, int motor, bool &limit) |
Gets whether the lower limit switch associated with the specified motor is currently set. More... | |
int | SIDXStageMotorLimitPlus (void *SIDXstage, int motor, bool &limit) |
Gets whether the upper limit switch associated with the specified motor is currently set. More... | |
int | SIDXStageMotorMoveRelative (void *SIDXstage, int motor, double offset) |
Commands the stage to begin moving the specified motor the specified offset, measured in meters. More... | |
int | SIDXStageMotorMoveSpeed (void *SIDXstage, int motor, double velocity) |
Commands the stage to begin moving the specified motor at the specified speed, as a fraction of maximum speed. More... | |
int | SIDXStageMotorMoveStop (void *SIDXstage, int motor) |
Commands the stage to stop the motor. More... | |
int | SIDXStageMotorMovingIs (void *SIDXstage, int motor, bool &moving) |
Gets the motion status of the specified motor. More... | |
int | SIDXStageMotorSpeedGet (void *SIDXstage, int motor, double &speed) |
Gets the speed for the specified motor as a fraction of maximum speed. More... | |
int | SIDXStageMotorSpeedSet (void *SIDXstage, int motor, double speed) |
Sets the speed for the specified motor as a fraction of maximum speed. More... | |
int | SIDXStageMovePositionXY (void *SIDXstage, double x_position_m, double y_position_m) |
Commands the stage to begin moving to the absolute position specified along the X and Y axes, measured in meters. More... | |
int | SIDXStageMovePositionXYZ (void *SIDXstage, double x_position_m, double y_position_m, double z_position_m) |
Commands the stage to begin moving to the absolute position specified along the X, Y and Z axes, measured in meters. More... | |
int | SIDXStageMovePositionZ (void *SIDXstage, double z_position_m) |
Commands the stage to begin moving to the absolute position specified along the Z axis, measured in meters. More... | |
int | SIDXStageMoveRelativeXY (void *SIDXstage, double x_offset_m, double y_offset_m) |
Commands the stage to begin moving the specified offsets along the X and Y axes, measured in meters. More... | |
int | SIDXStageMoveRelativeXYZ (void *SIDXstage, double x_offset_m, double y_offset_m, double z_offset_m) |
Commands the stage to begin moving the specified offsets along the X, Y and Z axes, measured in meters. More... | |
int | SIDXStageMoveRelativeZ (void *SIDXstage, double z_offset_m) |
Commands the stage to begin moving the specified offset along the Z axis, measured in meters. More... | |
int | SIDXStageMoveSpeedXY (void *SIDXstage, double x_velocity_mps, double y_velocity_mps) |
Commands the stage to begin moving at the specified speed along the X and Y axes, measured in meters/second. More... | |
int | SIDXStageMoveSpeedXYZ (void *SIDXstage, double x_velocity_mps, double y_velocity_mps, double z_velocity_mps) |
Commands the stage to begin moving at the specified speed along the X, Y and Z axes, measured in meters/second. More... | |
int | SIDXStageMoveSpeedZ (void *SIDXstage, double z_velocity_mps) |
Commands the stage to begin moving at the specified speed along the Z axis, measured in meters/second. More... | |
int | SIDXStageMoveStopXYZ (void *SIDXstage) |
Commands the stage to stop all movement along the X, Y and Z axes. More... | |
int | SIDXStageMovingIsXY (void *SIDXstage, bool &moving) |
Gets the motion status of the X and Y axes during the last successful motion query. More... | |
int | SIDXStageMovingIsXYZ (void *SIDXstage, bool &moving) |
Gets the motion status of the X, Y and Z axes during the last successful motion query. More... | |
int | SIDXStageMovingIsZ (void *SIDXstage, bool &moving) |
Gets the motion status of the Z axis during the last successful motion query. More... | |
int | SIDXStageMovingQuery (void *SIDXstage) |
Queries the stage about the current motion along the X, Y and Z axes. More... | |
int | SIDXStageOriginResetXYZ (void *SIDXstage) |
Sets the current position to zero on the X, Y and Z axes. More... | |
int | SIDXStagePositionGet (void *SIDXstage, double &position_x, double &position_y, double &position_z) |
Gets the current absolute position coordinates for all three axes, in meters. More... | |
int | SIDXStagePositionGetX (void *SIDXstage, double &coordinate) |
Gets the current absolute position coordinate for the X axis, in meters. More... | |
int | SIDXStagePositionGetY (void *SIDXstage, double &coordinate) |
Gets the current absolute position coordinate for the Y axis, in meters. More... | |
int | SIDXStagePositionGetZ (void *SIDXstage, double &coordinate) |
Gets the current absolute position coordinate for the Z axis, in meters. More... | |
int | SIDXStagePositionQuery (void *SIDXstage) |
Queries the stage about the current position of the X, Y and Z axes. More... | |
int | SIDXStageReset (void *SIDXstage) |
Commands the stage to stop all motion and reboot. More... | |
int | SIDXStageResolutionGetXY (void *SIDXstage, double &resolution) |
Gets the resolution of the X and Y axes in units of meters. More... | |
int | SIDXStageResolutionGetZ (void *SIDXstage, double &resolution) |
Gets the resolution of the Z axis in units of meters. More... | |
int | SIDXStageRotateClear (void *SIDXstage) |
Clear the rotation and mirroring settings, so acquired images are not transformed. More... | |
int | SIDXStageRotateMirrorX (void *SIDXstage) |
Mirror the image in x. More... | |
int | SIDXStageRotateMirrorY (void *SIDXstage) |
Mirror the image in y. More... | |
int | SIDXStageRotateSet (void *SIDXstage, int count) |
Set the image rotation as a count of 90 degree clockwise rotations. More... | |
int | SIDXStageSpeedGetXY (void *SIDXstage, double &speed) |
Gets the speed for the X and Y axes in meters per second. More... | |
int | SIDXStageSpeedGetZ (void *SIDXstage, double &speed) |
Gets the speed for the Z axis in meters per second. More... | |
int | SIDXStageSpeedSetXY (void *SIDXstage, double speed_mps) |
Sets the speed for the X and Y axes in meters per second. More... | |
int | SIDXStageSpeedSetZ (void *SIDXstage, double speed_mps) |
Sets the speed for the Z axis in meters per second. More... | |
void | SIDXStageGetLastError (void *SIDXstage, wchar_t *message, size_t length) |
The function translates the error code into a text string. More... | |
File containing SIDX stage usage for reference.
int SIDXStageAccelerateGetLimitXY | ( | void * | SIDXstage, |
double & | maximum | ||
) |
Gets the maximum acceleration during stage movement for the X and Y axes in meters/second^2.
SIDXstage | A handle value that references the open stage context. |
maximum | A variable to receive a real (floating-point) value representing the acceleration. If -1 is returned, the maximum acceleration is unknown. |
int SIDXStageAccelerateGetLimitZ | ( | void * | SIDXstage, |
double & | maximum | ||
) |
Gets the maximum acceleration during stage movement for the Z axis in meters/second^2.
SIDXstage | A handle value that references the open stage context. |
maximum | A variable to receive a real (floating-point) value representing the acceleration. If -1 is returned, the maximum acceleration is unknown. |
int SIDXStageAccelerateGetXY | ( | void * | SIDXstage, |
double & | acceleration | ||
) |
Gets the acceleration during stage movement for the X and Y axes as a fraction of maximum acceleration.
SIDXstage | A handle value that references the open stage context. |
acceleration | A variable to receive a real (floating-point) value representing the acceleration fraction, a value in the range [0, 1.0]. |
int SIDXStageAccelerateGetZ | ( | void * | SIDXstage, |
double & | acceleration | ||
) |
Gets the acceleration during stage movement for the Z axis as a fraction of maximum acceleration.
SIDXstage | A handle value that references the open stage context. |
acceleration | A variable to receive a real (floating-point) value representing the acceleration fraction, a value in the range [0, 1.0]. |
int SIDXStageAccelerateSetXY | ( | void * | SIDXstage, |
double | acceleration | ||
) |
Sets the acceleration during stage movement for the X and Y axes as a fraction of maximum acceleration.
SIDXstage | A handle value that references the open stage context. |
acceleration | The desired acceleration fraction, a value in the range [0, 1.0]. |
int SIDXStageAccelerateSetZ | ( | void * | SIDXstage, |
double | acceleration | ||
) |
Sets the acceleration during stage movement for the Z axis as a fraction of maximum acceleration.
SIDXstage | A handle value that references the open stage context. |
acceleration | The desired acceleration fraction,a value in the range [0, 1.0]. |
int SIDXStageAxisEnableXY | ( | void * | SIDXstage, |
bool | x_enable, | ||
bool | y_enable | ||
) |
Enables and disables motorized control of the stage axes.
SIDXstage | A handle value that references the open stage context. |
x_enable | True to enable the axis motor, false to disable. |
y_enable | True to enable the axis motor, false to disable. |
int SIDXStageAxisEnableZ | ( | void * | SIDXstage, |
bool | z_enable | ||
) |
Enables and disables motorized control of the focus axis.
SIDXstage | A handle value that references the open stage context. |
z_enable | True to enable the axis motor, false to disable. |
int SIDXStageAxisExistsXY | ( | void * | SIDXstage, |
bool & | motorized | ||
) |
Gets the motorized status of the X and Y axes.
SIDXstage | A handle value that references the open stage context. |
motorized | A variable to receive a boolean value, true if X and Y are motorized axes, false otherwise. |
int SIDXStageAxisExistsZ | ( | void * | SIDXstage, |
bool & | motorized | ||
) |
Gets the motorized status of the Z axis.
SIDXstage | A handle value that references the open stage context. |
motorized | A variable to receive a boolean value, true if Z is motorized, false otherwise. |
int SIDXStageBacklashExists | ( | void * | SIDXstage, |
bool & | control | ||
) |
Gets whether backlash control is available on this stage.
SIDXstage | A handle value that references the open stage context. |
control | A variable to receive a boolean value specifying the availability of backlash control. |
int SIDXStageBacklashGetXY | ( | void * | SIDXstage, |
double & | distance | ||
) |
Gets the backlash distance for the X and Y axes, measured in meters.
SIDXstage | A handle value that references the open stage context. |
distance | A variable to receive a real (floating-point) value representing the backlash distance in meters. |
int SIDXStageBacklashGetZ | ( | void * | SIDXstage, |
double & | distance | ||
) |
Gets the backlash distance for the Z axis, measured in meters.
SIDXstage | A handle value that references the open stage context. |
distance | A variable to receive a real (floating-point) value representing the backlash distance. |
int SIDXStageBacklashSetXY | ( | void * | SIDXstage, |
double | distance | ||
) |
Sets the backlash distance for the X and Y axes, measured in meters.
SIDXstage | A handle value that references the open stage context. |
distance | The backlash distance. |
int SIDXStageBacklashSetZ | ( | void * | SIDXstage, |
double | distance | ||
) |
Sets the backlash distance for the Z axis, measured in meters.
SIDXstage | A handle value that references the open stage context. |
distance | The backlash distance. |
int SIDXStageClose | ( | void * | SIDXstage | ) |
Close the stage controller.
SIDXstage | A handle value that references the open stage context. |
void SIDXStageGetLastError | ( | void * | SIDXstage, |
wchar_t * | message, | ||
size_t | length | ||
) |
The function translates the error code into a text string.
SIDXstage | A handle value that references the open stage context. |
message | A text string to receive the text associated with the last error occurred. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXStageJoystickDisable | ( | void * | SIDXstage | ) |
Sets the stage's attached joystick to be disabled.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageJoystickEnable | ( | void * | SIDXstage | ) |
Sets the stage's attached joystick to be enabled.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageJoystickSetMovementXY | ( | void * | SIDXstage, |
bool | x_right, | ||
bool | y_right, | ||
double | fraction | ||
) |
Sets the direction and speed of the X and Y axis controls for stage's attached joystick.
SIDXstage | A handle value that references the open stage context. |
x_right | True if, as the x axis coordinate increases, the stage moves the right. False if it moves left. |
y_right | True if, as the y axis coordinate increases, the stage moves the forward. False if it moves backward. |
fraction | The stage motion speed to use, as a as a fraction of full speed. This is a numeric value in the range [0,1.0]. |
int SIDXStageJoystickSetMovementZ | ( | void * | SIDXstage, |
bool | z_up, | ||
double | fraction | ||
) |
Sets the direction and speed of the Z axis control for stage's attached joystick.
SIDXstage | A handle value that references the open stage context. |
z_up | True if, as the z axis coordinate increases, the stage moves the up. False if it moves down. |
fraction | The stage motion speed to use, as a as a fraction of full speed. This is a numeric value in the range [0,1.0]. |
int SIDXStageLimitIsXMinus | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether the lower limit switch associated with the X axis was set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if the lower X axis limit switch was set, false otherwise. |
int SIDXStageLimitIsXPlus | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether the upper limit switch associated with the X axis was set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if the upper X axis limit switch was set, false otherwise. |
int SIDXStageLimitIsXY | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether any of the limit switches associated with the X or Y axes were set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if one of the X or Y axes' limit switches was set, false otherwise. |
int SIDXStageLimitIsXYZ | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether any of the limit switches associated with the X, Y or Z axes were set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if one of the X, Y or Z axes' limit switches was set, false otherwise. |
int SIDXStageLimitIsYMinus | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether the lower limit switch associated with the Y axis was set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if the lower Y axis limit switch was set, false otherwise. |
int SIDXStageLimitIsYPlus | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether the upper limit switch associated with the Y axis was set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if the upper Y axis limit switch was set, false otherwise. |
int SIDXStageLimitIsZ | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether either of the limit switches associated with the Z axis were set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if one of the Z axis limit switches was set, false otherwise. |
int SIDXStageLimitIsZMinus | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether the lower limit switch associated with the Z axis was set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if the lower Z axis limit switch was set, false otherwise. |
int SIDXStageLimitIsZPlus | ( | void * | SIDXstage, |
bool & | limit | ||
) |
Gets whether the upper limit switch associated with the Z axis was set during the last successful limit query.
SIDXstage | A handle value that references the open stage context. |
limit | A variable to receive a boolean value, true if the upper Z axis limit switch was set, false otherwise. |
int SIDXStageLimitQuery | ( | void * | SIDXstage | ) |
Queries the current stage limit switch values.
Each axis has two limit switches, the values of all limit switches are captured synchronously.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageMotorAccelerateGet | ( | void * | SIDXstage, |
int | motor, | ||
double & | acceleration | ||
) |
Gets the acceleration during stage movement for the specified motor as a fraction of maximum acceleration.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
acceleration | A variable to receive a real (floating-point) value representing the acceleration fraction, a value in the range [0, 1.0]. |
int SIDXStageMotorAccelerateSet | ( | void * | SIDXstage, |
int | motor, | ||
double | acceleration | ||
) |
Sets the acceleration during stage movement for the specified motor as a fraction of maximum acceleration.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
acceleration | An integer value representing the desired acceleration fraction, a value in the range [0, 1.0]. |
int SIDXStageMotorBacklashExists | ( | void * | SIDXstage, |
int | motor, | ||
bool & | available | ||
) |
Gets whether backlash control is available on the specified motor.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
available | A variable to receive a boolean value, true if backlash control is available, otherwise false. |
int SIDXStageMotorBacklashGet | ( | void * | SIDXstage, |
int | motor, | ||
double & | distance | ||
) |
Gets the backlash distance for the specified motor, in meters.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
distance | A variable to receive a real (floating-point) value representing the backlash distance. |
int SIDXStageMotorBacklashSet | ( | void * | SIDXstage, |
int | motor, | ||
double | distance | ||
) |
Sets the backlash distance for the specified motor, in meters.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
distance | A real (floating-point) value representing the backlash distance. |
int SIDXStageMotorExists | ( | void * | SIDXstage, |
int | motor, | ||
bool & | installed | ||
) |
Gets whether the specified motor is currently installed.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
installed | A variable to receive a boolean value, true if the motor is installed, otherwise false. |
int SIDXStageMotorGetByName | ( | void * | SIDXstage, |
const wchar_t * | name, | ||
int & | motor | ||
) |
Gets the handle to the specified motor.
SIDXstage | A handle value that references the open stage context. |
name | An integer value representing the name of the motor. |
motor | A variable to receive an integer handle to the motor. |
int SIDXStageMotorGetCount | ( | void * | SIDXstage, |
int & | identifiers | ||
) |
Gets the number of different motor identifiers.
SIDXstage | A handle value that references the open stage context. |
identifiers | A variable to receive an integer value representing the number of identifiers. |
int SIDXStageMotorGetName | ( | void * | SIDXstage, |
int | motor, | ||
wchar_t * | name, | ||
size_t | length | ||
) |
Gets the name corresponding to the specified motor number.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
name | A variable to receive a n integer value representing the name of the motor. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXStageMotorLimit | ( | void * | SIDXstage, |
int | motor, | ||
bool & | limit | ||
) |
Gets whether either of the limit switches associated with the specified motor is currently set.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
limit | A variable to receive a boolean value, true if one of the stepper motor's limit switches is set, false otherwise. |
int SIDXStageMotorLimitMinus | ( | void * | SIDXstage, |
int | motor, | ||
bool & | limit | ||
) |
Gets whether the lower limit switch associated with the specified motor is currently set.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
limit | A variable to receive a boolean value, true if the lower motor limit switch is set, false otherwise. |
int SIDXStageMotorLimitPlus | ( | void * | SIDXstage, |
int | motor, | ||
bool & | limit | ||
) |
Gets whether the upper limit switch associated with the specified motor is currently set.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
limit | A variable to receive a boolean value, true if the upper motor limit switch is set, false otherwise. |
int SIDXStageMotorMoveRelative | ( | void * | SIDXstage, |
int | motor, | ||
double | offset | ||
) |
Commands the stage to begin moving the specified motor the specified offset, measured in meters.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
offset | A real (floating-point) value representing the offset to move (in the units expected by the stage). This can be a positive or negative value. |
int SIDXStageMotorMoveSpeed | ( | void * | SIDXstage, |
int | motor, | ||
double | velocity | ||
) |
Commands the stage to begin moving the specified motor at the specified speed, as a fraction of maximum speed.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
velocity | A real (floating-point) value representing the speed. This can be a positive or negative value. |
int SIDXStageMotorMoveStop | ( | void * | SIDXstage, |
int | motor | ||
) |
Commands the stage to stop the motor.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
int SIDXStageMotorMovingIs | ( | void * | SIDXstage, |
int | motor, | ||
bool & | moving | ||
) |
Gets the motion status of the specified motor.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
moving | A variable to receive a boolean value, true if the motor is moving, false otherwise. |
int SIDXStageMotorSpeedGet | ( | void * | SIDXstage, |
int | motor, | ||
double & | speed | ||
) |
Gets the speed for the specified motor as a fraction of maximum speed.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
speed | A variable to receive a real (floating-point) value representing the speed fraction, a value in the range [0, 1.0]. |
int SIDXStageMotorSpeedSet | ( | void * | SIDXstage, |
int | motor, | ||
double | speed | ||
) |
Sets the speed for the specified motor as a fraction of maximum speed.
SIDXstage | A handle value that references the open stage context. |
motor | An integer value representing the handle to the motor. |
speed | An real (floating-point) value representing the speed fraction, a value in the range [0, 1.0]. |
int SIDXStageMovePositionXY | ( | void * | SIDXstage, |
double | x_position_m, | ||
double | y_position_m | ||
) |
Commands the stage to begin moving to the absolute position specified along the X and Y axes, measured in meters.
SIDXstage | A handle value that references the open stage context. |
x_position_m | A real (floating-point) value representing the coordinate on the X axis to move to, in meters. |
y_position_m | A real (floating-point) value representing the coordinate on the Y axis to move to, in meters. |
int SIDXStageMovePositionXYZ | ( | void * | SIDXstage, |
double | x_position_m, | ||
double | y_position_m, | ||
double | z_position_m | ||
) |
Commands the stage to begin moving to the absolute position specified along the X, Y and Z axes, measured in meters.
SIDXstage | A handle value that references the open stage context. |
x_position_m | A real (floating-point) value representing the coordinate on the X axis to move to, in meters. |
y_position_m | A real (floating-point) value representing the coordinate on the Y axis to move to, in meters. |
z_position_m | A real (floating-point) value representing the coordinate on the Z axis to move to, in meters. |
int SIDXStageMovePositionZ | ( | void * | SIDXstage, |
double | z_position_m | ||
) |
Commands the stage to begin moving to the absolute position specified along the Z axis, measured in meters.
SIDXstage | A handle value that references the open stage context. |
z_position_m | A real (floating-point) value representing the coordinate on the Z axis to move to, in meters. |
int SIDXStageMoveRelativeXY | ( | void * | SIDXstage, |
double | x_offset_m, | ||
double | y_offset_m | ||
) |
Commands the stage to begin moving the specified offsets along the X and Y axes, measured in meters.
SIDXstage | A handle value that references the open stage context. |
x_offset_m | A real (floating-point) value representing the X axis offset to move in meters. This can be a positive or negative value. |
y_offset_m | A real (floating-point) value representing the Y axis offset to move in meters. This can be a positive or negative value. |
int SIDXStageMoveRelativeXYZ | ( | void * | SIDXstage, |
double | x_offset_m, | ||
double | y_offset_m, | ||
double | z_offset_m | ||
) |
Commands the stage to begin moving the specified offsets along the X, Y and Z axes, measured in meters.
SIDXstage | A handle value that references the open stage context. |
x_offset_m | A real (floating-point) value representing the X axis offset to move in meters. This can be a positive or negative value. |
y_offset_m | A real (floating-point) value representing the Y axis offset to move in meters. This can be a positive or negative value. |
z_offset_m | A real (floating-point) value representing the Z axis offset to move in meters. This can be a positive or negative value. |
int SIDXStageMoveRelativeZ | ( | void * | SIDXstage, |
double | z_offset_m | ||
) |
Commands the stage to begin moving the specified offset along the Z axis, measured in meters.
SIDXstage | A handle value that references the open stage context. |
z_offset_m | A real (floating-point) value representing the offset to move in meters. This can be a positive or negative value. |
int SIDXStageMoveSpeedXY | ( | void * | SIDXstage, |
double | x_velocity_mps, | ||
double | y_velocity_mps | ||
) |
Commands the stage to begin moving at the specified speed along the X and Y axes, measured in meters/second.
SIDXstage | A handle value that references the open stage context. |
x_velocity_mps | A real (floating-point) value representing the X axis speed. This can be a positive or negative value. |
y_velocity_mps | A real (floating-point) value representing the Y axis speed. This can be a positive or negative value. |
int SIDXStageMoveSpeedXYZ | ( | void * | SIDXstage, |
double | x_velocity_mps, | ||
double | y_velocity_mps, | ||
double | z_velocity_mps | ||
) |
Commands the stage to begin moving at the specified speed along the X, Y and Z axes, measured in meters/second.
SIDXstage | A handle value that references the open stage context. |
x_velocity_mps | A real (floating-point) value representing the X axis speed. This can be a positive or negative value. |
y_velocity_mps | A real (floating-point) value representing the Y axis speed. This can be a positive or negative value. |
z_velocity_mps | A real (floating-point) value representing the Z axis speed. This can be a positive or negative value. |
int SIDXStageMoveSpeedZ | ( | void * | SIDXstage, |
double | z_velocity_mps | ||
) |
Commands the stage to begin moving at the specified speed along the Z axis, measured in meters/second.
SIDXstage | A handle value that references the open stage context. |
z_velocity_mps | A real (floating-point) value representing the Z axis speed. This can be a positive or negative value. |
int SIDXStageMoveStopXYZ | ( | void * | SIDXstage | ) |
Commands the stage to stop all movement along the X, Y and Z axes.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageMovingIsXY | ( | void * | SIDXstage, |
bool & | moving | ||
) |
Gets the motion status of the X and Y axes during the last successful motion query.
SIDXstage | A handle value that references the open stage context. |
moving | A variable to receive a boolean value, true if the stage is moving along the X or Y axes, false if X and Y are not moving. |
int SIDXStageMovingIsXYZ | ( | void * | SIDXstage, |
bool & | moving | ||
) |
Gets the motion status of the X, Y and Z axes during the last successful motion query.
SIDXstage | A handle value that references the open stage context. |
moving | A variable to receive a boolean value, true if the stage is moving along the X or Y axes, false if X and Y are not moving. |
int SIDXStageMovingIsZ | ( | void * | SIDXstage, |
bool & | moving | ||
) |
Gets the motion status of the Z axis during the last successful motion query.
SIDXstage | A handle value that references the open stage context. |
moving | A variable to receive a boolean value, true if the stage is moving along the X, Y or Z axes, false if X, Y and Z are not moving. |
int SIDXStageMovingQuery | ( | void * | SIDXstage | ) |
Queries the stage about the current motion along the X, Y and Z axes.
The results of query are accessed through any of the MovingIs... methods.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageOriginResetXYZ | ( | void * | SIDXstage | ) |
Sets the current position to zero on the X, Y and Z axes.
Future absolute positions are referenced to this new origin.
SIDXstage | A handle value that references the open stage context. |
int SIDXStagePositionGet | ( | void * | SIDXstage, |
double & | position_x, | ||
double & | position_y, | ||
double & | position_z | ||
) |
Gets the current absolute position coordinates for all three axes, in meters.
SIDXstage | A handle value that references the open stage context. |
position_x | A variable to receive a real (floating-point) value representing the x position. |
position_y | A variable to receive a real (floating-point) value representing the y position. |
position_z | A variable to receive a real (floating-point) value representing the z position. |
int SIDXStagePositionGetX | ( | void * | SIDXstage, |
double & | coordinate | ||
) |
Gets the current absolute position coordinate for the X axis, in meters.
SIDXstage | A handle value that references the open stage context. |
coordinate | A variable to receive a real (floating-point) value representing the X axis coordinate in meters. |
int SIDXStagePositionGetY | ( | void * | SIDXstage, |
double & | coordinate | ||
) |
Gets the current absolute position coordinate for the Y axis, in meters.
SIDXstage | A handle value that references the open stage context. |
coordinate | A variable to receive a real (floating-point) value representing the Y axis coordinate in meters. |
int SIDXStagePositionGetZ | ( | void * | SIDXstage, |
double & | coordinate | ||
) |
Gets the current absolute position coordinate for the Z axis, in meters.
SIDXstage | A handle value that references the open stage context. |
coordinate | A variable to receive a real (floating-point) value representing the Z axis coordinate in meters. |
int SIDXStagePositionQuery | ( | void * | SIDXstage | ) |
Queries the stage about the current position of the X, Y and Z axes.
The results of query are accessed through any of the PositionGet... methods.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageReset | ( | void * | SIDXstage | ) |
Commands the stage to stop all motion and reboot.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageResolutionGetXY | ( | void * | SIDXstage, |
double & | resolution | ||
) |
Gets the resolution of the X and Y axes in units of meters.
SIDXstage | A handle value that references the open stage context. |
resolution | A variable to receive a real (floating-point) value representing the resolution. |
int SIDXStageResolutionGetZ | ( | void * | SIDXstage, |
double & | resolution | ||
) |
Gets the resolution of the Z axis in units of meters.
SIDXstage | A handle value that references the open stage context. |
resolution | A variable to receive a real (floating-point) value representing the resolution. |
int SIDXStageRotateClear | ( | void * | SIDXstage | ) |
Clear the rotation and mirroring settings, so acquired images are not transformed.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageRotateMirrorX | ( | void * | SIDXstage | ) |
Mirror the image in x.
Calls to this method are cumulative, so two successive calls result in no mirroring. The mirroring and rotation calls operate in sequence. Calling RotateSet followed RotateMirrorX rotates the image, then mirrors the image. Calling RotateMirrorX then RotateSet mirrors the image, then rotates the image.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageRotateMirrorY | ( | void * | SIDXstage | ) |
Mirror the image in y.
Calls to this method are cumulative, so two successive calls result in no mirroring. The mirroring and rotation calls operate in sequence. Calling RotateSet followed RotateMirrorY rotates the image, then mirrors the image. Calling RotateMirrorY then RotateSet mirrors the image, then rotates the image.
SIDXstage | A handle value that references the open stage context. |
int SIDXStageRotateSet | ( | void * | SIDXstage, |
int | count | ||
) |
Set the image rotation as a count of 90 degree clockwise rotations.
For example, a 90 degree clockwise rotation is 1, a 90 degree counterclockwise rotation is -1, and a 360 degree rotation is 4. Rotations are cumulative, so successive calls add. For example, four calls each with a rotation count of 1 produce a rotation count of 4.
SIDXstage | A handle value that references the open stage context. |
count | An integer value specifying the image rotation as a signed count of 90 degree clockwise rotations. |
int SIDXStageSpeedGetXY | ( | void * | SIDXstage, |
double & | speed | ||
) |
Gets the speed for the X and Y axes in meters per second.
SIDXstage | A handle value that references the open stage context. |
speed | A variable to receive a real (floating-point) value representing the speed in meters per second. |
int SIDXStageSpeedGetZ | ( | void * | SIDXstage, |
double & | speed | ||
) |
Gets the speed for the Z axis in meters per second.
SIDXstage | A handle value that references the open stage context. |
speed | A variable to receive a real (floating-point) value representing the speed in meters per second. |
int SIDXStageSpeedSetXY | ( | void * | SIDXstage, |
double | speed_mps | ||
) |
Sets the speed for the X and Y axes in meters per second.
SIDXstage | A handle value that references the open stage context. |
speed_mps | An integer value representing the speed in meters per second. |
int SIDXStageSpeedSetZ | ( | void * | SIDXstage, |
double | speed_mps | ||
) |
Sets the speed for the Z axis in meters per second.
SIDXstage | A handle value that references the open stage context. |
speed_mps | An integer value representing the speed in meters per second. |