IMAQdxIsAttributeReadableCW

NI-IMAQdx Function Reference

IMAQdxIsAttributeReadableCW

Format

IMAQdxIsAttributeReadableCW (id As IMAQdxSession, name As String, readable as VARIANT_BOOL) As IMAQdxError

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 String The name of the camera attribute whose read permission you want to get. Refer to Attribute Name for a list of attributes.
readable VARIANT_BOOL (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 IMAQdxGetErrorStringCW.