University of Illinois at Urbana-Champaign

emcGetMagnification

NAME

emcGetMagnification - Retrieve current magnification

SYNOPSIS

#include "emc.h"
int emcGetMagnification(EM *em, int units, double *mag);

DESCRIPTION

emcGetMagnification() retrieves the current magnification value

*em
points to an EM control and communications structure that was returned by the emcOpen() call.
units
the units the values are expressed in:
UNCALIBRATED_UNITS Native magnification units of instrument
*mag
points to where to store the magnification value

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error
EMC_BADUNITS (-101) Invalid units specified for this request
EMC_NULLPTR (-111) Unexpected NULL pointer encountered

PREVIOUS Page 39 of 54 NEXT