Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

IMAQdx Error -1074360305 Attribute Not Supported by the Camera

Primary Software: Driver Software>>NI-IMAQ for IEEE-1394
Primary Software Version: 2.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
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 error Error -1074360305 Attribute not supported by the camera. 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. Why doesn't this work?

Solution:
The architecture of the attribute list has been changed for IMAQdx. Refer to KB 45IH3QY3: Get Attributes in IMAQdx vs. IMAQ for IEEE 1394 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:


For more information regarding the use of attributes with the IMAQdx driver, please refer to the content in the related links section.



Related Links:
KB 45IH3QY3: Get Attributes in IMAQdx vs. IMAQ for IEEE 1394
NI-IMAQdx User Manual
NI Developer Zone: Acquiring from Firewire Cameras with National Instruments NI-IMAQdx and Legacy NI-IMAQ for IEEE 1394

Attachments:
enumerate.JPG




Report Date: 02/14/2007
Last Updated: 06/21/2007
Document ID: 46DHL2BE

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit