Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Camera Attribute Example

1 ratings | 1.00 out of 5
Print

Downloads

Filename: 1645.vi
Requirements: View

Filename: imaqasynchreset.zip
Requirements: View

This example illustrates how to use camera attributes to set paramaters in the camera file programmatically. When setting camera attributes programmatically, it is important to set the top-level attributes first. This ensure the camera file is in the correct mode to set the next lower level attribute.

The first example illustrates how to change the mode of a specific camera file to an asynchronous mode. The PCI-1424 does not require any special actions to enable asynchronous reset mode. This operation is camera dependent, but in most cases it can be set in LabVIEW programmatically using the IMAQ Set Camera Attribute.vi.

The attached example contains LabVIEW examples for configuring a COHU 4110 or Pulnix 1010 camera for Asynchronous Reset mode. These examples are derived from the LL Triggered Ring.vi example that ships with NI-IMAQ. Examples are included for both LabVIEW 6.0 and LabVIEW 7.0.

The second example changes camera attributes for a analog linescan camera file. This VI demonstrates how to programmatically set the External Line Sync properties and the External Clock properties for an analog line scan camera. Analog line scan cameras are supported for the PCI-1409 only under NI-IMAQ 2.5.1 and above. This example uses the IMAQ Set Camera Attribute.vi to set these properties and the IMAQ Get Camera Attribute.vi to read back the values set.

Requirements


Filename: 1645.vi

Software Requirements


Application Software: LabVIEW Base Development System 6.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Vision (IMAQ)
Driver: NI-IMAQ 2.6

 
Filename: imaqasynchreset.zip

Software Requirements


Application Software: LabVIEW Full Development System 6.0
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Vision (IMAQ)
Driver: NI-IMAQ 2.5

 
1 ratings | 1.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).