imgGetAttribute

NI IMAQ Function

imgGetAttribute

Usage

rval imgGetAttribute(uInt32 void_id, uInt32 attr, void* value);

Purpose

Returns an attribute value.

Parameters

Name Type Direction
void_id uInt32 input
attr uInt32 input
value void* output
rval Int32 output

Parameter Discussion

void_id: valid SESSION_ID or INTERFACE_ID.

attr: attribute to set. Refer to Attributes for valid types.

value: pointer to the variable that receives the attribute.

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.