imaqGetVisionInfoTypes

NI Vision for LabWindows/CVI Function

imaqGetVisionInfoTypes

Usage

int imaqGetVisionInfoTypes(const Image* image, unsigned int* present);

Purpose

Retrieves all the types of Vision information associated with an image.

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_U16, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_COMPLEX, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL, IMAQ_IMAGE_RGB_U64

Parameters

Name

Type

Description

image const Image* The image that the function checks for the presence of Vision information.
present unsigned int* On return, this parameter has a bit flag set for each Vision information type present in the image.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().