IMAQdxIsAttributeReadable

NI-IMAQdx Function Reference

IMAQdxIsAttributeReadable

Format

rval = IMAQdxIsAttributeReadable (IMAQdxSession id, const char *name, unsigned int *readable);

Purpose

Gets the read permissions for a camera attribute.

Parameters

Parameter Type Description
id IMAQdxSession A valid Session ID, which you can obtain using IMAQdxOpenCamera.
name const char * The name of the camera attribute whose read permission you want to get. Refer to Attribute Name for a list of attributes.
readable unsigned int (passed by reference) Returns true if the attribute is readable, otherwise false.

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.