IMAQdxIsAttributeWritableCW

NI-IMAQdx Function Reference

IMAQdxIsAttributeWritableCW

Format

IMAQdxIsAttributeWritableCW (id As IMAQdxSession, name As String, writable as VARIANT_BOOL) As IMAQdxError

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