imaq1394AttributeInquiry2

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394AttributeInquiry2

Format

rval = imaq1394AttributeInquiry(SESSION_ID sessionId, unsigned long attribute, Feature2 *feature);

Purpose

Determines if the camera supports the specified attribute. If so, the function returns information about the attribute, including minimum and maximum values, and special operation modes.

Parameters

Parameter Type Description
sessionId SESSION_ID A valid Session ID, which you can obtain using imaq1394CameraOpen2.
attribute unsigned long The attribute to query.
feature Feature2 * On return, populated with information about the camera feature being queried. Contains fields such as the minimum and maximum for both absolute and relative values.

Return Value

On success, this function returns IMG1394_ERR_GOOD. On failure, this function returns an error code. You can obtain a more detailed error message with imaq1394ShowError.