Get Attributes in IMAQdx vs. IMAQ for IEEE 1394 Primary Software: Driver Software>>NI-IMAQ for IEEE-1394Primary Software Version: 2.0.2 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I recently migrated from IMAQ for IEEE 1394 to IMAQdx, and am now trying to get certain attributes like brightness, shutter speed, and gain for my camera. I formerly used IMAQ1394GetAttribute for C or the Attr property with the IMAQ1394 property node that accepted an enumerated input. Now in IMAQdx I do not see these options. Where can I find them?Solution: Using the IMAQdx driver, these attributes are now dynamically obtained using a string input. The reason for this change is that with the IMAQ 1394 driver, all cameras were DCAM compliant and had a specific set of attributes. With the IMAQdx driver, there are many more supported cameras with varying attributes. Therefore, instead of enumerating a set list of features, it was necessary for users to be allowed to choose the available properties for their particular cameras. Refer to the particular section that matches the programming environment that you are using to find out how attributes can be obtained with IMAQdx. For LabVIEW: The attributes for the camera can be obtained in LabVIEW by calling the IMAQdx property node found in the NI-IMAQdx palette in LabVIEW. Refer to Figure 1 for a comparison on how the two different drivers are used to change the level of brightness for a particular camera as an example.
If you are getting error:
For more information regarding the use of these functions and other IMAQdx functions for LabVIEW, please refer to the NI-IMAQdx VI Reference Help found in LabVIEW under For Text-based languages: Use the If you do not know in advance the number of attribute values that are available, you can get this information by completing these steps:
For more information regarding the use of these functions and other IMAQdx functions for text-based languages, please refer to the NI-IMAQdx Function Reference Help found under Related Links: Product Manuals: NI-IMAQdx User Manual NI Developer Zone: Acquiring from Firewire Cameras with National Instruments NI-IMAQdx and Legacy NI-IMAQ for IEEE 1394 Attachments:
Report Date: 01/19/2007 Last Updated: 02/19/2007 Document ID: 45IH3QY3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

