_Stg_ShowZoomConfig, Stg_GetZoomPosition, Stg_GetZoomStepPosition, Stg_GetZoomSteps, Stg_IsZoomManual, Stg_IsZoomPresent, Stg_LoadZoomCorrection, Stg_SetZoomPosition, Stg_ShowZoomConfig
Description
Stg_GetZoomPosition();
Returns the current zoom position of the stage.
Note
The current zoom of the stage is returned. Although the zoom is returned as a real number, not all zoom values might be achieved by the actual hardware. See Stg_GetZoomSteps function for retrieving the amount of zoom steps the actual hardware supports.
See Also
Stg_SetZoomPosition, Stg_GetZoomSteps
Description
Stg_GetZoomStepPosition(
int Step
);
This function returns the zoom for a given stage zoom step.
Note
The zoom of the stage cannot be set to an arbitrary value - instead, the stage supports several different zoom steps. This function retrieves the zoom associated with zoom step of a given number. Use it when you want to know precisely which zooms is the stage capable of setting.
See Also
Stg_GetZoomSteps, Stg_GetZoomPosition
Description
Stg_GetZoomSteps();
Returns the amount of zoom steps supported by the stage.
Note
The stage usually supports only a discrete amount of different zoom values it can be set to. This function retrieves the amount of zoom steps the stage can distinguish.
See Also
Stg_GetZoomPosition, Stg_GetZoomStepPosition
Description
Stg_IsZoomManual();
This function retrieves whether the stage zoom is being controlled manually.
Return Values
Note
When the stage zoom is controlled manually, the software cannot change its value. The users have to do the zooming by themselves.
Description
Stg_IsZoomPresent();
Detects whether the zoom is available or not.
See Also
Stg_GetZoomPosition, Stg_SetZoomPosition
Description
Stg_LoadZoomCorrection(
char *Filename
);
Zoom values of the AZ100 microscope can be corrected. This function loads zoom correction from an external .xml file.
Description
Stg_SetZoomPosition(
double Zoom
);
This function sets current stage zoom to the given value.
Parameters
Note
The stage might not support the precise zoom value, since the zoom of the stage can be set only in discrete steps. In that case, closest zoom available is used. You can retrieve the supported zooms using the Stg_GetZoomStepPosition function.
See Also
Stg_GetZoomStepPosition, Stg_GetZoomSteps
Interactive command to this function: Devices > Zoom Configuration
Description
Stg_ShowZoomConfig( doubleZoomLow
, doubleZoomHigh
, doubleZoomStep
, intShowOnToolBar
, intIsInCameraLightPath
);
This function enables you to setup the zoom values. It has meaning to use only if your optical device (for example: microscope or macroscope) has a zoom position changer (for example for zoom 1 and 1.5).
Parameters
This function runs the Devices > Zoom Configuration command.
Description
_Stg_ShowZoomConfig();
Displays a dialog box for the Zoom configuration.