IMAQdxSnap
Format
rval = IMAQdxSnapImage (IMAQdxSession id, Image *image);
Purpose
Configures, starts, acquires, and unconfigures a snap acquisition. Use a snap for low-speed or single-capture applications where ease of programming is essential. If you call this function before calling IMAQdxOpenCamera, IMAQdxSnap uses cam0 by default. If the image type does not match the video format of the camera, this function changes the image type to a suitable format.
Parameters
Parameter | Type | Description |
id | IMAQdxSession | A valid Session ID, which you can obtain using IMAQdxOpenCamera. |
image | ImageĀ * | The image that receives the captured pixel data. |
Return Value
On success, this function returns IMAQdxErrorSuccess. On failure, this function returns an error code. You can obtain a more detailed error message with IMAQdxGetErrorString.