_StgCalibrateXY4Points, _StgCalibrateXYAutomatic, _StgConfigXY, FindPointInPairedDocument, PI_GcsCommand, StgCalibrateXYAutomatic, StgEnableJoystickXY, StgGeneratePointsForXYOverview, StgGetInitValuesXY, StgGetPosXY, StgGetRelativeMovements, StgInitiateXY, StgMoveXY, StgMoveXYScan, StgMoveXYToRoi, StgSetRelativeMovements, StgSetTrigger, StgToggleJoystickXY, StgXY_DrawCircleAsync_Start, StgXY_DrawCircleAsync_Stop, StgXY_DrawCircleAsync_WaitAngle, StgXY_GetBlockAxis, StgXY_GetBlockAxisSupported, StgXY_GetJoystickSpeed, StgXY_GetJoystickSpeedSteps, StgXY_GetLimits, StgXY_GetMotorSpeed, StgXY_GetMotorSpeedSteps, StgXY_GetPrecision, StgXY_GetSettleTime, StgXY_GetSpeedRamp, StgXY_GetSpeedRampSteps, StgXY_GetSpeedVector, StgXY_GetStepJoystickSpeed, StgXY_GetStepMotorSpeed, StgXY_IsJoystickSpeedControllable, StgXY_IsMotorSpeedControllable, StgXY_IsPrecisionControllable, StgXY_IsPresent, StgXY_IsSettleTimeControllable, StgXY_IsSpeedRampControllable, StgXY_IsSpeedVectorControllable, StgXY_IsVirtualJoystickSupported, StgXY_MoveVirtualJoystickAtSpeed, StgXY_SetBlockAxis, StgXY_SetJoystickSpeed, StgXY_SetLimits, StgXY_SetMotorSpeed, StgXY_SetPrecision, StgXY_SetSettleTime, StgXY_SetSpeedRamp, StgXY_SetSpeedVector
Description
PI_GcsCommand( wchar *GCSCommand
, char *GCSAnswer
, intGCSAnswerSize
);
This function enables the user to use any SDK command of the C-867 PILine Motion Controller.
Description
StgGeneratePointsForXYOverview();
Function generates points into the XY Overview Control and overwrites the ND Multipoint experiment. Points are generated according to settings given by the Scan setup... dialog.
See Also
StgMoveXYScan, StgMoveXYZScan
This function runs the Find this Point in Paired Document command.
Description
FindPointInPairedDocument( doubleStgX
, doubleStgY
, intPairDeleteAfter
);
If two images have matching XY coordinates, this function can be used to locate the position in one image inside the other one.
Description
StgCalibrateXYAutomatic( double *LpCalibrationX
, double *Aspect
, double *Angle
);
This function finds calibration, aspect ratio and camera angle. Calibration is fully automatic and non-interactive.
Parameters
Return Values
See Also
_StgCalibrateXYAutomatic
Description
StgEnableJoystickXY(
int EnableJoystickXY
);
Sets XY device joystick status (enable/disable).
Parameters
Return Values
See Also
StgXY_IsJoystickSpeedControllable
Description
StgGetInitValuesXY( int *LpInitMethodXY
, double *LpRangeWidth
, double *LpRangeHeight
);
Retrieves the last initialization parameters.
Parameters
Return Values
See Also
StgInitiateXY
Description
StgGetPosXY( double *LpStgX
, double *LpStgY
);
Retrieves the current position [microns] of the XY device.
Parameters
Description
StgGetRelativeMovements( int *pXDir
, int *pYDir
, int *pZDir
);
This function returns relative coordinates of certain point with respect to orientation of the stage.
Description
StgInitiateXY( intInitMethodXY
, doubleRangeWidth
, doubleRangeHeight
, intReturnBack
, intQuietMode
);
Initiate XY device.
Parameters
Return Values
See Also
StgInitiate
This function runs the Move this Point to Center command.
Description
StgMoveXY( doublex
, doubley
, intrelative
);
Moves XY device to specified position [microns].
Parameters
Return Values
See Also
StgXY_IsMotorSpeedControllable, StgXY_IsSpeedRampControllable
Description
StgMoveXYScan( intIndex
, intrelative
);
This function moves the XY stage to a position of the point set generated by the StgGeneratePointsForXYOverview function. The difference between StgMoveXY and StgMoveXYScan is that StgMoveXYScan updates the XY Overview control window - already visited points will be highlighted. Index parameter is the index of a point in a point set generated by the StgGeneratePointsForXYOverview function.
Parameters
See Also
StgMoveXYZScan, StgGeneratePointsForXYOverview
Description
StgMoveXYToRoi(
int DstRoiId
);
Moves the XY stage to the center of the defined ROI.
Description
StgSetRelativeMovements( intXDir
, intYDir
, intZDir
);
This function reverses the relative movements of XYZ stage invoked by the following functions: StgMove StgMoveXY StgMoveZ.
Parameters
Description
StgSetTrigger( intEnabled
, intAxis
, doublePosition
, doubleIncrement
);
This function is used to send trigger signals based on defined stage position(s) of the Physik Instrumente C867 device.
Parameters
Description
StgToggleJoystickXY();
Switches XY device joystick status (enable->disable or disable->enable).
Return Values
See Also
StgEnableJoystickXY
Description
StgXY_DrawCircleAsync_Start( doubleStgX
, doubleStgY
, doubleStgRadius
, doubleStgDuration
, doubleStgTimeout
);
This function can be used in laser-cutting applications. The principle is in moving the XY stage in circles at steady pace and turning the Laser ON and OFF at a precise position so that a perfect circle is cut.
Description
StgXY_DrawCircleAsync_Stop();
This function stops the movement of the XY stage started by the StgXY_DrawCircleAsync_Start function.
Description
StgXY_DrawCircleAsync_WaitAngle(
double StgAngle
);
This function breaks the macro execution until the defined angle is reached by the XY stage (see StgXY_DrawCircleAsync_Start). This function shall be used in laser-cutting applications where you start and stop the cutting precisely at the same angle of the circle made by the XY stage.
Description
StgXY_GetBlockAxis( int *LpBlockX
, int *LpBlockY
);
Returns information whether the axes are blocked.
Description
StgXY_GetBlockAxisSupported( int *LpBlockX
, int *LpBlockY
);
Returns information whether the device supports axis blocking.
Description
StgXY_GetJoystickSpeed();
Returns current XY device joystick speed [microns/s]. This command should only be called if StgXY_IsJoystickSpeedControllable returns TRUE.
Return Values
See Also
StgXY_IsJoystickSpeedControllable, StgXY_GetJoystickSpeedSteps, StgXY_GetStepJoystickSpeed, StgXY_SetJoystickSpeed
Description
StgXY_GetJoystickSpeedSteps();
Returns the number of available XY device joystick speed steps. This command should only be called if StgXY_IsJoystickSpeedControllable returns TRUE.
Return Values
See Also
StgXY_IsJoystickSpeedControllable, StgXY_GetStepJoystickSpeed, StgXY_SetJoystickSpeed, StgXY_GetJoystickSpeed
Description
StgXY_GetLimits( double *LpMinX
, double *LpMinY
, double *LpMaxX
, double *LpMaxY
);
This function retrieves the actual software limits of the XY stage.
Description
StgXY_GetMotorSpeed();
Returns the current XY device motor speed [microns/s]. This command should only be called if StgXY_IsMotorSpeedControllable returns TRUE.
Return Values
See Also
StgXY_IsMotorSpeedControllable, StgXY_GetMotorSpeedSteps, StgXY_GetStepMotorSpeed, StgXY_SetMotorSpeed
Description
StgXY_GetMotorSpeedSteps();
Returns the number of available XY device motor speed steps. This command should only be called if StgXY_IsMotorSpeedControllable returns TRUE.
Return Values
See Also
StgXY_IsMotorSpeedControllable, StgXY_GetStepMotorSpeed, StgXY_SetMotorSpeed, StgXY_GetMotorSpeed
Description
StgXY_GetSpeedRamp();
Returns current XY device speed ramp [step]. This command should only be called if StgXY_IsSpeedRampControllable returns TRUE.
Return Values
See Also
StgXY_IsSpeedRampControllable, StgXY_GetSpeedRampSteps, StgXY_SetSpeedRamp
Description
StgXY_GetSpeedRampSteps();
Returns the number of available XY device speed ramp steps. This command should only be called if StgXY_IsSpeedRampControllable returns TRUE.
Return Values
See Also
StgXY_IsSpeedRampControllable, StgXY_SetSpeedRamp, StgXY_GetSpeedRamp
Description
StgXY_GetSpeedVector( double *pdSpeedX
, double *pdSpeedY
);
Retrieves the current vector speed [µm/s] of the XY device. This command should only be called if StgXY_IsSpeedVectorControllable returns TRUE (1).
Description
StgXY_GetStepJoystickSpeed(
int step
);
Returns the XY device joystick speed [microns/s] for a given step. This command should only be called if StgXY_IsJoystickSpeedControllable returns TRUE.
Parameters
Return Values
See Also
StgXY_IsJoystickSpeedControllable, StgXY_GetJoystickSpeedSteps, StgXY_SetJoystickSpeed, StgXY_GetJoystickSpeed
Description
StgXY_GetStepMotorSpeed(
int step
);
Returns the XY device motor speed [microns/s] for a given step. This command should only be called if StgXY_IsMotorSpeedControllable returns TRUE.
Parameters
Return Values
See Also
StgXY_IsMotorSpeedControllable, StgXY_GetMotorSpeedSteps, StgXY_SetMotorSpeed, StgXY_GetMotorSpeed
Description
StgXY_IsJoystickSpeedControllable();
Detects if the joystick speed of XY device can be controlled.
Return Values
See Also
StgXY_GetJoystickSpeedSteps, StgXY_GetStepJoystickSpeed, StgXY_SetJoystickSpeed, StgXY_GetJoystickSpeed
Description
StgXY_IsMotorSpeedControllable();
Detects if the motor speed of XY device can be controlled.
Return Values
See Also
StgXY_GetMotorSpeedSteps, StgXY_GetStepMotorSpeed, StgXY_SetMotorSpeed, StgXY_GetMotorSpeed
Description
StgXY_IsPrecisionControllable();
Returns whether the precision of the stage is controllable.
Description
StgXY_IsPresent();
Checks if a logical device of “XY” type exists and is currently connected.
Description
StgXY_IsSettleTimeControllable();
Returns whether the settle time of the stage is controllable.
Description
StgXY_IsSpeedRampControllable();
Detects if the speed ramp of the XY device can be controlled.
Return Values
See Also
StgXY_GetSpeedRampSteps, StgXY_SetSpeedRamp, StgXY_GetSpeedRamp
Description
StgXY_IsSpeedVectorControllable();
This function tests whether the speed vector control functionality is supported by the current XY stage.
Description
StgXY_IsVirtualJoystickSupported();
This function tests whether the virtual joystick functionality is supported by the current XY stage.
Description
StgXY_MoveVirtualJoystickAtSpeed( doubleMotorSpeedX
, doubleMotorSpeedY
);
This function moves the active XY stage according to the defined vector.
Parameters
Note
This function moves the stage continuously. The direction and the speed can be changed by calling it again with modified parameters. The movement can be stopped by giving the function a zero vector - StgXY_MoveVirtualJoystickAtSpeed(0.000,0.000);.
Description
StgXY_SetBlockAxis( intBlockX
, intBlockY
);
Sets which stage axes will be blocked.
Description
int StgXY_SetJoystickSpeed(
double speed
);
Sets the XY device joystick speed [µm/s]. If the speed is not valid, the closest valid speed will be chosen. This command should only be called if StgXY_IsJoystickSpeedControllable returns TRUE (1).
Parameters
Return Values
See Also
StgXY_IsJoystickSpeedControllable, StgXY_GetJoystickSpeedSteps, StgXY_GetStepJoystickSpeed, StgXY_GetJoystickSpeed
Description
StgXY_SetLimits( doubleMinX
, doubleMinY
, doubleMaxX
, doubleMaxY
);
This function sets up the Software limits of the XY stage. It works with Ni and Ti microscopes. If the function succeeds, it returns a boolean type.
Description
StgXY_SetMotorSpeed(
double speed
);
Sets the XY device motor speed [microns/s]. If the speed is not valid, the closest valid speed will be chosen. This command should only be called if StgXY_IsMotorSpeedControllable returns TRUE.
Return Values
See Also
StgXY_IsMotorSpeedControllable, StgXY_GetMotorSpeedSteps, StgXY_GetStepMotorSpeed, StgXY_GetMotorSpeed
Description
StgXY_SetSettleTime(
double SettleTimeXY
);
Settle time after the finished stage movement.
Description
StgXY_SetSpeedRamp(
int step
);
Sets the XY device speed ramp [step]. This command should only be called if StgXY_IsSpeedRampControllable returns TRUE.
Parameters
Return Values
See Also
StgXY_IsSpeedRampControllable, StgXY_GetSpeedRampSteps, StgXY_GetSpeedRamp
Description
StgXY_SetSpeedVector( doubleMotorSpeedX
, doubleMotorSpeedY
);
This function sets vector speed [µm/s] for the XY device. This command should only be called if StgXY_IsSpeedVectorControllable returns TRUE (1).
Parameters
Description
_StgCalibrateXY4Points( double *LpCalibrationX
, double *LpAspect
, double *Angle
);
This function finds calibration, aspect ratio and camera angle. Calibration requires user interaction.
Parameters
See Also
_StgCalibrateXYAutomatic
Description
_StgCalibrateXYAutomatic( double *LpCalibrationX
, double *LpAspect
, double *Angle
);
This function finds calibration, aspect ratio and camera angle. Calibration is fully automatic.
Parameters