University of Illinois at Urbana-Champaign

emcCameraClose

NAME

emcCameraClose - Terminate communication with camera

SYNOPSIS

#include "emc.h"
int emcCameraClose(EM *em, int id);

DESCRIPTION

emcCameraClose() signals an end of communications with the camera described by the camera identification number id. Any resources allocated by emcCameraOpen() for that id are released and the connection to the camera is safely terminated.

*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.

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error

PREVIOUS Page 12 of 54 NEXT