emcCameraAcquireImage
NAME
emcCameraAcquireImage - Get a new image
from the camera
SYNOPSIS
#include "emc.h"
int emcCameraAcquireImage(EM *em, int id, EMImage **image, int type);
DESCRIPTION
emcCameraAcquireImage() acquires an image
from the digital 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.
- **image
- pointer to the variable to store the pointer to the image acquired by
the camera.
- type
- type of image to acquire:
EMC_SINT8 |
1-byte signed integers |
EMC_SINT16 |
2-byte signed integers |
EMC_SINT32 |
4-byte signed integers |
EMC_UINT8 |
1-byte unsigned integers |
EMC_UINT16 |
2-byte unsigned integers |
EMC_UINT32 |
4-byte unsigned integers |
EMC_FLOAT32 |
4-byte floats |
EMC_FLOAT64 |
8-byte floats |
DIAGNOSTICS
EMC_OK (0) |
Success |
EMC_ERROR (-1) |
Error |
Page 11 of 54 