University of Illinois at Urbana-Champaign

emcSetIntensity

NAME

emcSetIntensity - Change beam intensity (spread)

SYNOPSIS

#include "emc.h"
int emcSetIntensity(EM *em, int units, int correction,
                    int relative, double intensity);

DESCRIPTION

emcSetIntensity() sets the current intensity (spread) 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 Intensity is measured in units
MILLIMETERS Intensity is measured in millimeters
PERCENTAGE_UNITS Intensity is measured in percentage
NORMAL_UNITS Intensity is measured in normaled units
autocorrect
Type of side effect corrections to perform:
EMC_NONE No side effect correction
relative
Flags what the intensity change is relative to:
EMC_RELATIVE Intensity change measured relative to current value.
EMC_ABSOLUTE Intensity change measured relative to 0 (absolute setting)
ntensity
the amount of intensity

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error
EM_UNCALIBRATED (-100) Instrument not calibrated for given request
EM_BADUNITS (-101) Invalid units specified for this request

PREVIOUS Page 52 of 54 NEXT