background image

Glossary

©

 National Instruments Corporation

G-9

IMAQ PCI/PXI-1407 User Manual

P

PCI

Peripheral Component Interconnect—a high-performance expansion bus 
architecture originally developed by Intel to replace ISA and EISA; it is 
achieving widespread acceptance as a standard for PCs and workstations 
and offers a theoretical maximum transfer rate of 132 Mbytes/s

PCLK

pixel clock signal—times the sampling of pixels on a video line

picture aspect ratio

the ratio of the active pixel region to the active line region; for standard 
video signals like RS-170 or CCIR, the full-size picture aspect ratio 
normally is 4/3 (1.33)

pixel

picture element—the smallest division that makes up the video scan line; 
for display on a computer monitor, a pixel’s optimum dimension is square 
(aspect ratio of 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 square, 
thus the optimal value is 1.0, but typically it falls between 0.95 and 1.05, 
depending on camera quality

pixel clock

divides the incoming horizontal video line into pixels

pixel count

the total number of pixels between two HYSNCs; the pixel count 
determines the frequency of the pixel clock

protocol

the exact sequence of bits, characters, and control codes used to transfer 
data between computers and peripherals through a communications 
channel

pts

points

PXI

PCI eXtensions for Instrumentation. PXI is an open specification that 
builds off the CompactPCI specification by adding 
instrumentation-specific features.

R

RAM

random-access memory

real time

a property of an event or system in which data is processed as it is acquired 
instead of being accumulated and processed at a later time

Summary of Contents for PCI-1407

Page 1: ...rutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respective owner...

Page 2: ...IMAQ IMAQ PCI PXI 1407 User Manual High Quality Monochrome Image Acquisition Boards for PCI PXI and CompactPCI Bus IMAQ PCI PXI 1407 User Manual December 1998 Edition Part Number 322156A 01 ...

Page 3: ... 3336 Canada Ontario 905 785 0085 Canada Québec 514 694 8521 Denmark 45 76 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Hong Kong 2645 3186 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico 5 520 2635 Netherlands 0348 433466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 200 51 51 Taiwan 02 377 1200 ...

Page 4: ...OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in perf...

Page 5: ...dential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Notices to User Changes or modifications not expressly approved by National Instruments could void the user s authority to operate the equipment under the FCC Rules This device complies with the FCC rules only if used with shielded interface cables of suitable...

Page 6: ...arted 1 2 Software Programming Choices 1 3 National Instruments Application Software 1 3 NI IMAQ Driver Software 1 4 Optional Equipment 1 6 Unpacking 1 6 How to Set up Your IMAQ System 1 6 Chapter 2 Installation Installation 2 1 Chapter 3 Hardware Overview Functional Overview 3 1 Video Buffer 3 2 Gain and Offset Circuitry 3 2 8 Bit ADC and LUT 3 2 CSYNC Mux 3 3 Genlock SYNC Generator 3 3 Pixel Asp...

Page 7: ...nnector Signal Connection Descriptions 4 2 Appendix A Specifications Appendix B Customer Communication Glossary Index Figures Figure 1 1 The Relationship between the Programming Environment NI IMAQ and Your Hardware 1 5 Figure 1 2 How to Set up Your IMAQ System 1 7 Figure 3 1 PCI PXI 1407 Block Diagram 3 2 Figure 3 2 Positive Video Line 3 5 Figure 3 3 Video Field 3 6 Figure 4 1 PCI PXI 1407 BNC I ...

Page 8: ...quipment and custom cables and explains how to unpack and set up your PCI PXI 1407 Chapter 2 Installation explains how to install your PCI PXI 1407 Chapter 3 Hardware Overview presents an overview of the hardware functions on your PCI PXI 1407 and explains the operation of each functional unit making up the PCI PXI 1407 Chapter 4 Signal Connections describes cable connections for the PCI PXI 1407 ...

Page 9: ...your image acquisition system You could have any of several types of manuals depending on the hardware and software in your system Use the different types of manuals you have as follows Software documentation You may have both application software and NI IMAQ software documentation National Instruments application software includes LabVIEW and LabWindows CVI After you set up your hardware system u...

Page 10: ...ocal Bus Specification Revision 2 1 Customer Communication National Instruments wants to receive your comments on our products and manuals We are interested in the applications you develop with our products and we want to help if you have problems with them To make it easy for you to contact us this manual contains comment and configuration forms for you to complete These forms are in Appendix B C...

Page 11: ...XI 1407 is simple to configure so that you can easily install the board and begin your image acquisition The PCI PXI 1407 ships with NI IMAQ the National Instruments complete image acquisition driver software you can use to directly control your board Using NI IMAQ you can quickly and easily start your application without having to program the board at the register level Featuring low cost and hig...

Page 12: ...is not guaranteed between CompactPCI devices with different sub buses nor between CompactPCI devices with sub buses and PXI The standard implementation for CompactPCI does not include these sub buses Your PXI 1407 device will work in any standard CompactPCI chassis adhering to the PICMG 2 0 R2 1 CompactPCI core specification What You Need to Get Started To set up and use your PCI PXI 1407 you will...

Page 13: ...pplication Software LabVIEW and BridgeVIEW feature interactive graphics a state of the art user interface and a powerful graphical programming language G The NI IMAQ VI Library for G a series of virtual instruments VIs for using LabVIEW and BridgeVIEW with the PCI PXI 1407 is included with the NI IMAQ software kit The NI IMAQ VI Library for G is functionally equivalent to the NI IMAQ software LabW...

Page 14: ...is functionally equivalent to the NI IMAQ software NI IMAQ Driver Software The NI IMAQ driver software is included at no charge with the PCI PXI 1407 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 contr...

Page 15: ... DAQ products Whether you are using conventional programming languages or National Instruments software your application uses the NI IMAQ driver software as illustrated in Figure 1 1 Figure 1 1 The Relationship between the Programming Environment NI IMAQ and Your Hardware Conventional Programming Environment NI IMAQ Driver Software Operating System Personal Computer or Workstation LabVIEW or Bridg...

Page 16: ...a grounding strap 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 for loose components or any other signs of damage Notify National Instruments if the board appears damaged in any way Do not install a damaged board in your computer Never touch the...

Page 17: ...nline NI IMAQ documentation Read Chapter 1 Introduction to NI IMAQ in the NI IMAQ User Manual Read the sections in Chapters 2 and 3 in the NI IMAQ User Manual that apply to the function groups you will use in your application Look at the self documented example source code on your distribution CD for your application language and environment Use the NI IMAQ Function Reference Manual when you need ...

Page 18: ...ling the PCI 1407 The power cord grounds the computer and protects it from electrical damage while you are installing the module Warning To protect both yourself and the computer from electrical hazards the computer should remain off until you finish installing the PCI 1407 2 Remove the top cover or access port to the PCI bus 3 Select any available PCI expansion slot 4 Locate the metal bracket tha...

Page 19: ...ral slot Install the PXI 1407 in a slot that supports bus arbitration or bus master cards PXI compliant chassis must have bus arbitration for all slots 3 Remove the filler panel for the peripheral slot you have chosen 4 Touch a metal part on your chassis to discharge any static electricity that might be on your clothes or body 5 Insert the PXI 1407 in the selected 5 V slot Use the injector ejector...

Page 20: ...og video signals into digital form The board has both gain and offset circuitry to optimize the input signal range of the ADC It also features a PCI interface for high speed data transfer The scatter gather DMA controllers transfer the digitized image data from a set of first in first out FIFO memory buffers to the computer s system memory via the PCI bus The board also includes a trigger for cont...

Page 21: ...range 8 Bit ADC and LUT An 8 bit flash ADC digitizes the image which is passed to a 256 by 8 bit lookup table LUT RAM You can configure the input LUT to implement simple imaging operations such as contrast enhancement data inversion gamma manipulation or other nonlinear transfer functions BNC Trigger Trigger Control CSYNC Mux Genlock SYNC Generator HSYNC and VSYNC PCLK Acquisition and Region of In...

Page 22: ...ow Control section later in this chapter Acquisition and Region of Interest Control The acquisition and region of interest control circuitry monitors the incoming video signal and routes the active pixels to the FIFO buffers The PCI PXI 1407 can digitize an entire frame and perform pixel and line scaling and region of interest acquisition Pixel and line scaling lets certain multiples 2 4 or 8 of p...

Page 23: ...ty of the external trigger line The trigger can start an image acquisition when used as an input signal As an output signal the control circuit can drive the line asserted or unasserted to trigger an external event Also it can connect internal signals such as HSYNC and VSYNC to the trigger line Video Acquisition The PCI PXI 1407 can acquire video signals in a variety of modes and transfer the digi...

Page 24: ...frequency of the pixel clock Active line region The active line region is the region of lines actively being stored The active line region is defined by a line start relative to VSYNC and a line count Line count The line count is the total number of horizontal lines in the picture Video line A video line consists of an HSYNC back porch active pixel region and a front porch The 1407 device requires...

Page 25: ...equency from 11 7 to 15 8 MHz depending on the total number of pixels per line The standard sampling rate for RS 170 video signals is 12 27 MHz and the standard sampling rate for CCIR is 14 75 MHz The PCI PXI 1407 also includes a programmable line count which you use to switch between RS 170 525 lines and CCIR 625 lines Acquisition window After setting the pixel and line count you must program the...

Page 26: ...erlaced video The PCI PXI 1407 supports both interlaced and noninterlaced video signals In interlaced mode the PCI PXI 1407 combines the odd and even field into one contiguous frame for analysis In noninterlaced mode each field is treated as an independent frame Acquisition Modes The PCI PXI 1407 supports two video acquisition modes Standard mode In standard mode the PCI PXI 1407 receives an incom...

Page 27: ...for the PCI PXI 1407 BNC Connectors The BNC external connectors supply an immediate connection to the PCI PXI 1407 VIDEO CSYNC and TRIG inputs Use BNC cables to connect a camera to these inputs You can configure the BNC connector only for referenced single ended RSE mode Figure 4 1 PCI PXI 1407 BNC I O Connectors CSYNC TRIG VIDEO ...

Page 28: ...e programmable to be an input or an output When the PCI PXI 1407 is in CSYNC external mode use the connector to input a CSYNC signal from the camera In standard acquisition mode the internally generated CSYNC can be routed to this connector as an output signal TRIG The TRIG signal is a TTL I O line used to start an acquisition or to control external events You can program the triggers to be rising...

Page 29: ...rmats Supported RS 170 60 Hz Interlaced mode 30 frames s CCIR 50 Hz Interlaced mode 25 frames s Video Input Quantity 1 monochrome Input impedance 75 Ω VIDEO RSE BNC Frequency response 20 MHz 3 dB typ Gain Programmable 1 1 33 or 2 Black reference Programmable 0 1 26 V White reference Programmable 0 1 26 V A D Conversion Gray levels 256 8 bit RMS noise 0 5 LSB rms Signal to noise ratio 48 dB typ Sam...

Page 30: ...Generated frequency 11 66 to 15 78 MHz Aspect correction for standard video sources 5 to 7 Pixel jitter 5 ns peak PCI Interface PCI initiator master capability Supported PCI target slave capability Supported Data path 32 bits Card voltage 5 V only Card type 32 bit half size card Parity generation checking error reporting Supported Target decode speed Medium 1 clock Target fast back to back capabil...

Page 31: ...ser Manual Expansion ROM 4 KB PCI master performance Ideal 133 Mbytes s Sustained 100 Mbytes s Power Requirements Voltage 5 V 1 34 A 12 V 100 mA 12 V 50 mA Physical Dimensions PCI 1407 10 668 by 17 463 cm 4 2 by 6 875 in PXI 1407 16 10 cm 6 3 3 9 in Weight PCI 1407 0 127 kg 0 028 lb ...

Page 32: ...ms does not answer your questions we offer fax and telephone support through our technical support centers which are staffed by applications engineers Electronic Services Bulletin Board Support National Instruments has BBS and FTP sites dedicated for 24 hour support with a collection of files and documents to answer most common customer questions From these sites you can also download the latest i...

Page 33: ...ents office in your country contact the source from which you purchased your software to obtain support Country Telephone Fax Australia 03 9879 5166 03 9879 6277 Austria 0662 45 79 90 0 0662 45 79 90 19 Belgium 02 757 00 20 02 757 03 11 Brazil 011 288 3336 011 288 8528 Canada Ontario 905 785 0085 905 785 0086 Canada Québec 514 694 8521 514 694 4399 Denmark 45 76 26 00 45 76 26 02 Finland 09 725 72...

Page 34: ...____ Instruments used _________________________________________________________________ _______________________________________________________________________________ National Instruments hardware product model _____________ Revision ____________________ Configuration ___________________________________________________________________ National Instruments software product ___________________ Vers...

Page 35: ... ____________________________________________________ DMA channels of other boards _____________________________________________________ Interrupt level of other boards ______________________________________________________ Other Products Computer make and model ________________________________________________________ Microprocessor _________________________________________________________________...

Page 36: ..._____________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ __________________________________________________________________...

Page 37: ...lo 103 M mega 106 G giga 109 Numbers Symbols percent positive of or plus per Ω ohm plus or minus negative of or minus A A amperes AC alternating current acquisition window the image size specific to a video standard or camera resolution active line region the region of lines actively being stored defined by a line start relative to VSYNC and a line count ...

Page 38: ... of video data is in progress area a rectangular portion of an acquisition window or frame that is controlled and defined by software array ordered indexed set of data elements of the same type ASIC Application Specific Integrated Circuit a proprietary semiconductor component designed and manufactured to perform a set of specific functions for a specific customer aspect ratio the ratio of a pictur...

Page 39: ...on defined by the PCI Industrial Computer Manufacturer s Group PICMG compiler a software utility that converts a source program in a high level programming language such as Basic C or Pascal into an object or compiled program in machine language Compiled programs run 10 to 1 000 times faster than interpreted programs See also interpreter conversion device device that transforms a signal from one f...

Page 40: ... in Microsoft Windows containing executable code and data that can be called or used by Windows applications or other DLLs functions and data in a DLL are loaded and linked at run time when they are referenced by a Windows application or other DLLs DMA direct memory access a method by which data can be transferred to and from computer memory from and to a device or memory on the bus while the proc...

Page 41: ...ng this time data accumulates in the FIFO for future retrieval flash ADC an ADC whose output code is determined in a single step by a bank of comparators and encoding logic frame a complete image in interlaced formats a frame is composed of two fields front porch the area of a video signal between the start of the horizontal blank and the start of the horizontal sync ft feet function a set of soft...

Page 42: ...rtz the number of scans read or updates written per second I IC integrated circuit ID identification IEEE Institute of Electrical and Electronics Engineers in inches INL integral nonlinearity a measure in LSB of the worst case deviation from the ideal A D or D A transfer characteristic of the analog I O circuitry instrument driver a set of high level software functions such as NI IMAQ that control...

Page 43: ...uantifying data or computer memory kbytes s a unit for data transfer that means 1 000 or 103 bytes s Kword 1 024 words of memory L library a file containing compiled object modules each comprised of one of more functions that can be linked to other object modules that make use of these functions line count the total number of horizontal lines in the picture LSB least significant bit luminance the ...

Page 44: ...uickly by changing addresses on the local processor MSB most significant bit MTBF mean time between failure mux multiplexer a switching device with multiple inputs that selectively connects one of its inputs to its output N NI IMAQ driver software for National Instruments IMAQ hardware noninterlaced a video frame where all the lines are scanned sequentially instead of divided into two frames as in...

Page 45: ...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 square thus the optimal value is 1 0 but typically it falls between 0 95 and 1 05 depending on camera quality pixel clock divides the incoming horizontal video line into pixels pixel count the total number ...

Page 46: ...nced single ended all measurements are made with respect to a common reference measurement system or a ground Also called a grounded measurement system RTSI bus Real Time System Integration Bus the National Instruments timing bus that connects IMAQ and DAQ boards directly by means of connectors on top of the boards for precise synchronization of functions S s seconds scaling down circuitry circuit...

Page 47: ...ition on a rising or falling edge TTL transistor transistor logic V V volts VI Virtual Instrument 1 a combination of hardware and or software elements typically used with a PC that has the functionality of a classic stand alone instrument 2 a LabVIEW software module VI which consists of a front panel user interface and a block diagram program video line a video line consists of a HSYNC back porch ...

Page 48: ... See also installation setting up IMAQ system 1 6 to 1 7 CSYNC acquisition window control 3 5 CSYNC mux 3 3 external acquisition mode 3 7 CSYNC signal table 4 2 customer communication ix B 1 to B 2 D delayed video acquisition 3 4 DMA controllers 3 3 documentation conventions used in manual viii National Instruments documentation viii organization of manual vi related documentation ix E electronic ...

Page 49: ...to 2 2 setting up IMAQ system 1 6 to 1 7 unpacking the PCI PXI 1407 1 6 interlaced video 3 7 internal pixel clock specifications A 2 I O connector 4 1 to 4 2 signal descriptions table 4 2 L LabVIEW software 1 3 line count definition 3 5 programmable pixel and line count 3 6 line region active 3 5 lookup table 8 bit ADC and LUT 3 2 M manual See documentation N National Instruments application softw...

Page 50: ...nal Instruments application software 1 3 to 1 4 NI IMAQ driver software 1 4 to 1 5 specifications A 1 to A 4 A D conversion A 1 environment A 3 to A 4 external connections A 2 formats supported A 1 internal pixel clock A 2 PCI interface A 2 to A 3 physical A 3 power requirements A 3 video input A 1 standard acquisition mode 3 7 start conditions video acquisition 3 4 to 3 5 system requirements 1 2 ...

Page 51: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Reviews: