emcGetBeamTilt
NAME
emcGetBeamTilt - Retrieve beam tilt
settings
SYNOPSIS
#include "emc.h"
int emcGetBeamTilt(EM *em, int units, double *x, double *y);
DESCRIPTION
emcGetBeamTilt() retrieves the current
tilt settings 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 |
Beam tilt is measured in units |
RADIAN_UNITS |
Beam tilt is measured in radians |
DEGREE_UNITS |
Beam tilt is measured in degrees |
- *x
- points to where to store the X-axis tilt
- *y
- points to where to store the Y-axis tilt
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 31 of 54 