Error -1074360305: Attribute Not Supported by the Camera

Updated Apr 18, 2023

Reported In

Software

  • LabVIEW

Driver

  • NI-IMAQdx

Issue Details

I get Error -1074360305 Attribute not supported by the camera when:
  • I try to modify a basic attribute such as gain using IMAQdx. I'm able to change this attribute in NI MAX.
  • I am trying to call an attribute for my camera using IMAQdx and LabVIEW. When I pass a string to the ActiveAttribute property for the IMAQdx property node] I get this error. This attribute name works with the legacy IMAQ for IEEE 1394 Cameras driver. I typed the exact name of the attribute that showed up in the enumerated control of the legacy driver as the string input for the IMAQdx driver.

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:
  1. Exact string name of the attribute
  2. Read/write permissions
  3. 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:

Additional Information

  • You can also see how this is implemented with example VIs. In NI-IMAQdx 18.5 for example, the Grab and Basic Attributes.vi and Grab and Attributes Setup.vi include the IMAQdx Enumerate Attributes.vi and additional functionality.