emcGetBeamShift
NAME
emcGetBeamShift - Retrieve beam shift
settings
SYNOPSIS
#include "emc.h"
int emcGetBeamShift(EM *em, int units, double *x, double *y);
DESCRIPTION
emcGetBeamShift() retrieves the current
beam shift settings
- *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 beam shift 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 |
- *x
- points where to store the current X beam shift value
- *y
- points where to store the current Y beam shift value
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 |
Page 30 of 54 