University of Illinois at Urbana-Champaign

emcCameraGetArea

NAME

emcCameraGetArea - Retrieve the current camera acquisition area.

SYNOPSIS

#include "emc.h"
int emcCameraGetArea(EM *em, int id, int *top, int *left,
                     int *bottom, int *right);

DESCRIPTION

emcCameraGetArea() returns the area of the camera (after binning) currently being used to acquire images when using the camera associated with camera identification number id.

*em
points to an EM control and communications structure that was returned by the emcOpen() call.
id
camera identification number which was returned by the emcCameraOpen() call.
*top, *left, *bottom, *right
pointers to variables to store the area of camera (in coordinates already reduced by the binning factor) from which the next image will be acquired.

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error

PREVIOUS Page 14 of 54 NEXT