background image

Chapter 1

Introduction

IMAQ PCI/PXI-1409 User Manual

1-4

ni.com

NI-IMAQ Driver Software

The NI-IMAQ driver software is included with your IMAQ device.
NI-IMAQ has an extensive library of functions that you can call from your
application programming environment. These functions include routines
for video configuration, image acquisition (continuous and single-shot),
memory buffer allocation, trigger control, and board configuration, as
shown in Figure 1-2.

Figure 1-2.

NI-IMAQ Functions

The NI-IMAQ driver software performs all of the functions required for
acquiring and saving images. The NI-IMAQ software does not perform any
image analysis. For image analysis functionality, refer to the

National

Instruments IMAQ Vision

section in this chapter.

NI-IMAQ has both high-level and low-level functions for maximum
flexibility and performance. Examples of high-level functions include the
functions to acquire images in single-shot or continuous mode. An example
of a low-level function is configuring an image sequence, since it requires
advanced understanding of your IMAQ device and image acquisition.

NI-IMAQ internally resolves many of the complex issues between the
computer and your IMAQ device, such as programming interrupts and
DMA controllers.

NI-IMAQ is also the interface path between LabVIEW, LabWindows/CVI,
or a conventional programming environment and your IMAQ device. The
NI-IMAQ software kit includes a series of libraries for image acquisition
for LabVIEW and Measurement Studio, which contains libraries for
LabWindows/CVI, Visual C++, and Visual Basic. These libraries are
functionally equivalent to the NI-IMAQ software.

NI-IMAQ

Buffer Control

Image

Acquisition

Camera Control

Lookup Table

Control

DAQ

Synchronization

Triggering

and Timing

Summary of Contents for IMAQ PCI-1409

Page 1: ...IMAQ IMAQ PCI PXI 1409 User Manual High Quality Monochrome Image Acquisition Boards for PCI PXI and CompactPCI Bus IMAQ PCI PXI 1409 User Manual November 2000 Edition Part Number 322811A 01...

Page 2: ...14 24 24 Germany 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico D F 5 280 7625 Mexico Monterrey...

Page 3: ...or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instructions owner s modification of the product owner s abuse misuse or neglige...

Page 4: ...ommunications DOC Changes or modifications not expressly approved by National Instruments could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Co...

Page 5: ...Directives Readers in the EU EEC EEA must refer to the Manufacturer s Declaration of Conformity DoC for information pertaining to the CE Mark compliance scheme The Manufacturer includes a DoC for most...

Page 6: ...c software version This icon denotes a note which alerts you to important information This icon denotes a warning which advises you of precautions to take to avoid being electrically shocked italic It...

Page 7: ...t You Need to Get Started 2 1 Optional Equipment 2 2 How to Set up Your IMAQ System 2 2 Unpacking 2 4 Board Configuration 2 4 VIDEO0 Input Mode 2 6 Installation 2 7 Chapter 3 Hardware Overview Functio...

Page 8: ...x Figures Figure 1 1 The Relationship between the Programming Environment NI IMAQ and Your Hardware 1 3 Figure 1 2 NI IMAQ Functions 1 4 Figure 1 3 IMAQ Vision Builder and Application Development Tool...

Page 9: ...Contents National Instruments Corporation ix IMAQ PCI PXI 1409 User Manual Tables Table 1 1 Pins Used by the PXI 1409 Device 1 2 Table 4 1 I O Connector Signals 4 3...

Page 10: ...ition driver software you can use to directly control your 1409 device Using NI IMAQ you can quickly and easily start your application without having to program the board at the register level Featuri...

Page 11: ...t coexist with the basic PCI interface on the CompactPCI bus Compatible operation is not guaranteed between CompactPCI devices with different sub buses nor between CompactPCI devices with sub buses an...

Page 12: ...programming languages National Instruments IMAQ Vision adds powerful image processing and analysis to these programming environments You can also use IMAQ Vision Builder to quickly and easily prototy...

Page 13: ...nd low level functions for maximum flexibility and performance Examples of high level functions include the functions to acquire images in single shot or continuous mode An example of a low level func...

Page 14: ...ithout knowledge of any algorithm implementations IMAQ Vision is available for LabVIEW and Measurement Studio which includes support for LabWindows CVI Visual C and Visual Basic IMAQ Vision Builder IM...

Page 15: ...nal Instruments IMAQ hardware and IMAQ Vision pattern matching software you can quickly and accurately locate objects in instances where objects vary in size orientation focus and even when the part i...

Page 16: ...you will need the following One of the following 1409 devices PCI 1409 PXI 1409 Getting Started with Your IMAQ System NI IMAQ release notes IMAQ PCI PXI 1409 User Manual NI IMAQ for Windows 2000 NT Me...

Page 17: ...Instruments products IMAQ 6822 BNC breakout box and cable for trigger and additional camera support RTSI bus cables for connecting the 1409 device to other IMAQ or DAQ hardware Other National Instrum...

Page 18: ...orks IMAQ Vision documentation when you need specific information about individual NI IMAQ functions Read Chapter 1 Introduction to NI IMAQ in the NI IMAQ User Manual Read the sections in chapters 2 a...

Page 19: ...or by holding a grounded object Touch the antistatic package to a metal part of your computer chassis before removing the board from the package Remove the board from the package and inspect the board...

Page 20: ...5 IMAQ PCI PXI 1409 User Manual Figure 2 2 shows the locations of user configurable jumpers and switches as well as factory default settings on the PCI 1409 Figure 2 2 PCI 1409 Parts Locator Diagram...

Page 21: ...xer is tied internally to analog ground When in DIFF mode the video input uses two analog input signals One signal connects to the positive input of the video multiplexer circuitry while the other inp...

Page 22: ...1409 device 2 Follow the electrostatic discharge guidelines in the Unpacking section of this chapter 3 Remove the cover of your computer 4 Make sure there are no lighted LEDs on your motherboard If a...

Page 23: ...tPCI chassis 2 Choose an unused PXI or CompactPCI 5 V peripheral slot Install the PXI 1409 in a slot that supports bus arbitration or bus master cards PXI compliant chassis must have bus arbitration f...

Page 24: ...ras as well as from non standard cameras such as line scan cameras The 1409 device digitizes analog video signals to 8 or 10 bits of resolution at sampling frequencies up to 40 MHz The 1409 device has...

Page 25: ...ither the full bandwidth of 30 MHz or a reduced bandwidth of 9 MHz The 9 MHz bandwidth setting is available using a 5th order Butterworth lowpass filter 10 Bit ADC The 10 bit ADC digitizes the conditi...

Page 26: ...trollers The DMA controllers transfer data between the onboard SDRAM memory buffer and the PCI bus Each of these controllers supports scatter gather DMA which allows the controllers to reconfigure on...

Page 27: ...quisition on a rising or falling edge In addition you can map onboard signals such as HSYNC VSYNC ACQUISTION_IN_PROGRESS and ACQUISITION_DONE to these lines The camera control lines provide a means to...

Page 28: ...use this mode to acquire from asynchronously reset cameras which output a continuous HSYNC Note Connect a FIELD signal to TRIG3 when the 1409 device is in external lock mode with an interlaced camera...

Page 29: ...connector You can configure the BNC connector only for RSE mode Note Verify that Jumper W1 is installed when using the BNC input Figure 4 1 BNC Connector Pin Assignment I O Connector The 68 pin VHDCI...

Page 30: ...VIDEO 1 RESERVED RESERVED RESERVED RESERVED DGND RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED RESERVED HSYNC_IN VSYNC_IN CSYNC_IN CSYNC_OUT CTRL 0 CTRL 1 CTRL 2 CTRL 3 DGND...

Page 31: ...IN Use HSYNCIN when the 1409 device is in external lock mode HSYNC is a synchronization pulse produced at the beginning of each video scan line that keeps a video monitor s horizontal scan rate in ste...

Page 32: ...ernal status signals by using the onboard events or specific pulse widths CTRL 3 0 Use the control lines on the PCI 1409 to control camera features and timing information Either static or dynamic TTL...

Page 33: ...NTSC 60 Hz Interlaced mode 60 fields s CCIR PAL 50 Hz Interlaced mode 50 fields s VGA 60 Hz 640 480 resolution Variable scan Programmable Video Input Quantity Four monochrome Input impedance 75 1 VIDE...

Page 34: ...l to noise ratio 56 dB typ Sampling rate 2 MHz to 40 MHz externally clocked Pixel aspect ratio Programmable 5 of nominal Internal Pixel Clock Frequencies range 11 6 to 25 8 MHz Pixel ratio for standar...

Page 35: ...s registers BAR0 16 KB BAR1 64 KB Expansion ROM 4 KB PCI master performance Ideal 133 Mbytes s Sustained 100 Mbytes s Power Requirements Voltage 5 V 1 5 A 12 V 100 mA 12 V 50 mA Physical Dimensions PC...

Page 36: ...ual and the Declaration of Conformity included in your kit for any additional regulatory compliance information Functional shock PXI only MIL T 28800 E Class 3 per Section 4 5 5 4 1 Half sine shock pu...

Page 37: ...hronization sources However if you want to develop your own cables the following guidelines must be met For the video inputs use a 75 shielded coaxial cable For the digital triggers and synchronizatio...

Page 38: ...ss the latest example programs system configurators tutorials technical news as well as a community of developers ready to share their own techniques Customer Education National Instruments provides a...

Page 39: ...eb sites from the Worldwide Offices section of ni com Branch office Web sites provide up to date contact information support phone numbers e mail addresses and current events If you have searched the...

Page 40: ...n nano 10 9 micro 10 6 m milli 10 3 k kilo 103 M mega 106 G giga 109 Numbers Symbols percent positive of or plus negative of or minus per 5V 5 V signal plus or minus ohm A A Amperes A D Analog to dig...

Page 41: ...the video signal API Application programming interface area A rectangular portion of an acquisition window or frame that is controlled and defined by software array Ordered indexed set of data elemen...

Page 42: ...he CCIR standards chroma The color information in a video signal chrominance See chroma CMOS Complementary metal oxide semiconductor CompactPCI Refers to the core specification defined by the PCI Indu...

Page 43: ...r In many cases the default input of a control is a certain value often 0 DMA Direct memory access A method by which data can be transferred between computer memory and a device or memory on the bus w...

Page 44: ...l blank and the start of the horizontal synchronization signal HSYNC ft Feet function A set of software instructions executed by a single line of code that may have input and or output parameters and...

Page 45: ...cations channels operator interface devices and or data acquisition and control interfaces IC Integrated circuit IEEE Institute of Electrical and Electronics Engineers in Inches INL Integral nonlinear...

Page 46: ...103 bytes s Kword 1 024 words of memory L line count The total number of horizontal lines in the picture LSB Least significant bit luma The brightness information in the video picture The luma signal...

Page 47: ...scanned sequentially instead of divided into two frames as in an interlaced video frame NTSC National Television Standards Committee The committee that developed the color video standard used primari...

Page 48: ...1 1 or the width equal to the height pixel aspect ratio The ratio between the physical horizontal size and the vertical size of the region covered by the pixel An acquired pixel should optimally be s...

Page 49: ...scheme using red green and blue RGB color information where each pixel in the color image is encoded using 32 bits 8 bits for red 8 bits for green 8 bits for blue and 8 bits for the alpha value unuse...

Page 50: ...ochrome video acquisition board sync Tells the display where to put a video picture The horizontal sync indicates the picture s left to right placement and the vertical sync indicates top to bottom pl...

Page 51: ...oftware module VI which consists of a front panel user interface and a block diagram program video line A video line consists of a horizontal synchronization signal back porch active pixel region and...

Page 52: ...n C cables custom cable specifications B 1 optional equipment 2 2 required cables 2 1 CompactPCI specifications 1 2 composite synchronization See CSYNC configuration 2 4 to 2 8 See also installation p...

Page 53: ...tem 2 2 to 2 3 unpacking the PCI PXI 1409 2 4 integration with DAQ and motion control 1 6 internal pixel clock specifications A 2 I O connector 4 1 to 4 4 avoiding VIDEO0 connection with BNC connector...

Page 54: ...egion of interest control circuitry 3 3 RSE referenced single ended input mode external CLK and synchronization input mode 2 6 VIDEO0 input 2 6 RTSI bus 3 4 S scatter gather DMA controllers 3 3 signal...

Page 55: ...onization circuitry 3 3 PCLK HSYNC VSYNC mux 3 3 VSYNCIN signal table 4 3 W W1 jumper input mode control for VIDEO0 input 2 6 required for BNC input note 4 1 Web support from National Instruments C 1...

Reviews: