imaq1394AttributeInquiry2CW

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394AttributeInquiry2CW

Format

imaq1394AttributeInquiry2CW(sessionId As SESSION_ID, Attribute As Attribute, Feature As Feature2) As IMG_ERR

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 Attribute The Attribute you want to query. Refer to Attributes for a list of attributes.
feature Feature2 (passed by reference) 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 imaq1394ShowErrorCW.