IMAQdxIsAttributeWritable

NI-IMAQdx Function Reference

IMAQdxIsAttributeWritable

Format

rval = IMAQdxIsAttributeWritable (IMAQdxSession id, const char *name, unsigned int *writable);

Purpose

Gets the write 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 write permission you want to get. Refer to Attribute Name for a list of attributes.
writable unsigned int (passed by reference) Returns true if the attribute is writable, 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.