emcGetGoniometerPosition
NAME
emcGetGoniometerPosition - Retrieve the
current goniometer position
SYNOPSIS
#include "emc.h"
int emcGetGoniometerPosition(EM *em, int units, double *x, double *y,
double *z, double a, double *b);
DESCRIPTION
emcGetGoniometerPosition() retrieves the
current position of the goniometer.
- *em
- points to an
EM control and communications structure that
was returned by the emcOpen() call.
- units
- the units the values should be expressed in:
UNCALIBRATED_UNITS |
Native goniometer positioning 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 |
- *x
- pointer to where to store the X-axis position
- *y
- pointer to where to store the Y-axis position
- *z
- pointer to where to store the Z-axis position
- *a
- pointer to where to store the A-axis position
- *b
- pointer to where to store the B-axis position
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 |
EMC_UNSUPPORTED (-102) |
Function not supported by instrument |
Page 34 of 54 