emcGetDarkField
NAME
emcGetDarkField - Retrieve the current
dark field state
SYNOPSIS
#include "emc.h"
int emcGetDarkField(EM *em, int *state);
DESCRIPTION
emcGetDarkField() retrieves a flag which
indicates whether the instrument is in darkfield mode or not.
- *em
- points to an
EM control and communications structure that
was returned by the emcOpen() call.
- *state
- points to a state flag which will store the result of this call. A value
of 1 indicates the instrument is in darkfield mode and a value of 0 indicates the is not
in darkfield mode.
DIAGNOSTICS
EMC_OK (0) |
Success |
EMC_ERROR (-1) |
Error |
EMC_NULLPTR (-111) |
Unexpected NULL pointer encountered |
Page 32 of 54 