University of Illinois at Urbana-Champaign

emcCameraGetDimensions

NAME

emcCameraGetDimensions - Retrieve the current camera dimensions

SYNOPSIS

#include "emc.h"
int emcCameraGetDimensions(EM *em, int id, int *height, int *width);

DESCRIPTION

emcCameraGetDimensions() returns the maximum camera image acquisition dimensions (with a binning factor of 1) of the camera 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.
*width
Maximum camera acquisition width
*height
Maximum camera acquisition height

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error

PREVIOUS Page 16 of 54 NEXT