University of Illinois at Urbana-Champaign

emcSetAstigmator

NAME

emcSetAstigmator - Change the astigmator settings

SYNOPSIS

#include "emc.h"
int emcSetAstigmator(EM *em, int units, int correction, int relative,
                     double x, double y);

DESCRIPTION

emcSetAstigmator() sets the current astigmator values of the instrument.

*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 astigmator units of instrument
ANGSTROM_UNITS Units are measured in angstroms
NANOMETER_UNITS Units are measured in nanometers
MICRON_UNITS Units are measured in microns
PIXEL_UNITS Units are measured in pixels in current camera
correction
Boolean value which enables correction of known side effects of this function.
relative
Flags what the astigmator change is relative to:
EMC_RELATIVE Astigmator change measured relative to current value
EMC_ABSOLUTE Astigmator change measured relative to "no astigmator change" (absolute setting)
x
the amount of X-axis astigmator change
y
the amount of Y-axis astigmator change

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error
EMC_UNCALIBRATED (-100) Instrument not calibrated for given request
EMC_BADUNITS (-101) Invalid units specified for this request
EMC_UNSUPPORTED (-102) Function not supported by instrument

PREVIOUS Page 43 of 54 NEXT