Solution
Note: The architecture of the attribute list has changed between legacy IMAQ and IMAQdx. Refer to
Programmatically Get and Set Attributes with IMAQdx for more information on this topic.
The correct syntax for camera attributes can be obtained using the
IMAQdx Enumerate Attributes.vi found in the IMAQdx palette. This VI outputs the entire list of camera attributes into an array of clusters containing the following elements:
- Exact string name of the attribute
- Read/write permissions
- Specific datatype the attribute accepts
Index the array to browse and locate the specific attribute of interest. The
Attribute Name field in the cluster can be passed to the
ActiveAttributes property to reference that particular attribute as shown below: