University of Illinois at Urbana-Champaign

emcSetDarkField

NAME

emcSetDarkField - Set the darkfield state of the instrument

SYNOPSIS

#include "emc.h"
int emcSetDarkField(EM *em, int state);

DESCRIPTION

emcSetDarkField() enables or disables the darkfield state of the instrument.

*em
points to an EM control and communications structure that was returned by the emcOpen() call.
state
a state flag which determines what state the instrument will be placed in. A value of 1 indicates the instrument should be placed in darkfield mode and a value of 0 indicates the instrument should be taken out of darkfield mode.

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error
EMC_NULLPTR (-111) Unexpected NULL pointer encountered

PREVIOUS Page 47 of 54 NEXT