emcGetIntensity
NAME
emcGetIntensity - Change beam intensity
(spread)
SYNOPSIS
#include "emc.h"
int emcGetIntensity(EM *em, int units, double *intensity);
DESCRIPTION
emcGetIntensity() retrieves 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 should be returned as:
UNCALIBRATED_UNITS |
Intensity is measured in units |
MILLIMETERS |
Intensity is measured in millimeters |
PERCENTAGE_UNITS |
Intensity is measured as a percentage |
NORMAL_UNITS |
Intensity is measured in normalized units |
- *intensity
- points to where to store the intensity value
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 |
Page 38 of 54 