University of Illinois at Urbana-Champaign

emcSetBeamTilt

NAME

emcSetBeamTilt - Change the tilt of the electron beam

SYNOPSIS

#include "emc.h"
int emcSetBeamTilt(EM *em, int units, int correction, int relative,
                   double xamount, double yamount);

DESCRIPTION

emcSetBeamTilt() sets the current tilt of the electron beam.

*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 Tilt is measured in units
RADIAN_UNITS Tilt is measured in radians
DEGREE_UNITS Tilt is measured in degrees
autocorrect
Type of side effect corrections to perform:
EMC_NONE No side effect correction
relative
What the units of tilt are measured relative to:
EMC_RELATIVE Beam tilt change measured relative to current value.
EMC_ABSOLUTE Beam tilt change measured relative to 0 degrees (absolute setting)
xamount
the amount of X-axis tilt
yamount
the amount of Y-axis tilt

DIAGNOSTICS

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

PREVIOUS Page 46 of 54 NEXT