National-instruments Image Acquisition Software User Manual

Browse online or download User Manual for Hardware National-instruments Image Acquisition Software. National Instruments Image Acquisition Software User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 68
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
IMAQ
NI-IMAQ
User Manual
Image Acquisition Software
NI-IMAQ User Manual
June 1998 Edition
Part Number 371443A-01
UM.book Page 1 Monday, July 13, 1998 9:49 AM
Page view 0
1 2 3 4 5 6 ... 67 68

Summary of Contents

Page 1 - User Manual

IMAQNI-IMAQ™ User ManualImage Acquisition SoftwareNI-IMAQ User ManualJune 1998 EditionPart Number 371443A-01™UM.book Page 1 Monday, July 13, 1998 9

Page 2

© National Instruments Corporation 1-1 NI-IMAQ User Manual1Introduction to NI-IMAQThis chapter describes the NI-IMAQ software and lists the applicatio

Page 3 - Important Information

Chapter 1 Introduction to NI-IMAQNI-IMAQ User Manual 1-2© National Instruments CorporationApplication Development EnvironmentsThis release of NI-IMAQ

Page 4 - Contents

Chapter 1 Introduction to NI-IMAQ© National Instruments Corporation 1-3 NI-IMAQ User ManualCreating an ApplicationThis section outlines the process fo

Page 5 - NI-IMAQ User Manual vi

Chapter 1 Introduction to NI-IMAQNI-IMAQ User Manual 1-4© National Instruments CorporationSample ProgramsPlease refer to the readme.txt file located i

Page 6

© National Instruments Corporation 2-1 NI-IMAQ User Manual2Software OverviewThis chapter describes the classes of NI-IMAQ functions and briefly descri

Page 7 - About This Manual

Chapter 2 Software OverviewNI-IMAQ User Manual 2-2© National Instruments CorporationGeneric FunctionsUse generic functions in both high-level and low-

Page 8 - NI-IMAQ User Manual x

Chapter 2 Software Overview© National Instruments Corporation 2-3 NI-IMAQ User ManualimgGrabArea Performs a transfer from a continuous acquisition. Ca

Page 9 - Related Documentation

Chapter 2 Software OverviewNI-IMAQ User Manual 2-4© National Instruments CorporationimgSessionWaitSignalAsyncMonitors for a signal to be asserted and

Page 10 - Introduction to NI-IMAQ

Chapter 2 Software Overview© National Instruments Corporation 2-5 NI-IMAQ User ManualLow-Level FunctionsUse low-level functions when you require more

Page 11 - The NI-IMAQ Libraries

Chapter 2 Software OverviewNI-IMAQ User Manual 2-6© National Instruments CorporationAttribute FunctionsUse attribute functions to examine and change N

Page 12 - Creating an Application

Internet SupportE-mail: [email protected] Site: ftp.natinst.comWeb Address: http://www.natinst.comBulletin Board SupportBBS United States: 512 79

Page 13 - Sample Programs

Chapter 2 Software Overview© National Instruments Corporation 2-7 NI-IMAQ User ManualimgGetBufferElement Gets an element of a specific type from a buf

Page 14 - Software Overview

© National Instruments Corporation 3-1 NI-IMAQ User Manual3Programming with NI-IMAQThis chapter contains an overview of the NI-IMAQ library, a descrip

Page 15 - High-Level Functions

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-2© National Instruments CorporationLow-Level FunctionsThe low-level function set supports all

Page 16 - Ring and Sequence Functions

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-3 NI-IMAQ User ManualBefore you can acquire image data successfully, you must o

Page 17 - Miscellaneous Functions

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-4© National Instruments CorporationThis example opens an interface to img0 and then creates a

Page 18 - Low-Level Functions

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-5 NI-IMAQ User Manualattribute value is a numeric value of type integer. Float

Page 19 - Buffer Management Functions

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-6© National Instruments CorporationFigure 3-1 illustrates the values of the signals during a t

Page 20 - Utility Functions

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-7 NI-IMAQ User ManualHigh-Level Snap FunctionsA snap acquires a single image in

Page 21 - Programming with NI-IMAQ

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-8© National Instruments CorporationThe sample then calls a process function to analyze the ima

Page 22

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-9 NI-IMAQ User ManualFigure 3-3. Grab Programming FlowchartThe hlgrab.c exampl

Page 23 - Session Functions

Important InformationWarrantyThe media on which you receive National Instruments software are warranted not to fail to execute programming instructio

Page 24 - Camera Attributes

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-10© National Instruments CorporationHigh-Level Sequence FunctionsSequence functions include im

Page 25 - NI-IMAQ Status Signals

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-11 NI-IMAQ User ManualThe HLSeq.c example demonstrates how to perform a sequenc

Page 26 - NI-IMAQ User Manual 3-6

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-12© National Instruments CorporationFigure 3-5. Ring Programming FlowchartThe HLRing.c exampl

Page 27 - High-Level Snap Functions

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-13 NI-IMAQ User Manualthe most recent video image. This process will continue u

Page 28 - High-Level Grab Functions

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-14© National Instruments CorporationFigure 3-6. Signal I/O Function Programming FlowchartAdva

Page 29

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-15 NI-IMAQ User Manualfor you when you acquire an image with it, you must perfo

Page 30 - High-Level Sequence Functions

Chapter 3 Programming with NI-IMAQNI-IMAQ User Manual 3-16© National Instruments CorporationThe main processing loop of the code shows how to process

Page 31 - High-Level Ring Functions

Chapter 3 Programming with NI-IMAQ© National Instruments Corporation 3-17 NI-IMAQ User ManualFigure 3-7. Composite StillColor Snap Programming Flowch

Page 32 - NI-IMAQ User Manual 3-12

© National Instruments Corporation A-1 NI-IMAQ User ManualAStillColorThis appendix describes the different methods you can use to acquire a color imag

Page 33

Appendix A StillColorNI-IMAQ User Manual A-2© National Instruments CorporationStillColorStillColor is a technique you can use to acquire color images

Page 34 - Advanced Programming Examples

© National Instruments Corporation v NI-IMAQ User ManualContentsAbout This ManualHow to Use the NI-IMAQ Manual Set...

Page 35

Appendix A StillColor© National Instruments Corporation A-3 NI-IMAQ User ManualAll of the traditional ways to separate the two signals result in visua

Page 36 - StillColor Snap Programming

Appendix A StillColorNI-IMAQ User Manual A-4© National Instruments CorporationFigure A-1. Classical DecodingFigure A-2. StillColor DecodingNoteYou c

Page 37

Appendix A StillColor© National Instruments Corporation A-5 NI-IMAQ User ManualWhy StillColor?StillColor is optimized for single-frame acquisition. A

Page 38 - StillColor

Appendix A StillColorNI-IMAQ User Manual A-6© National Instruments CorporationStillColor RGBRGB cameras output a color image using three lines. StillC

Page 39

Appendix A StillColor© National Instruments Corporation A-7 NI-IMAQ User ManualFigure A-3. White Light and the Visible SpectrumWhite light is a combi

Page 40 - Appendix A StillColor

Appendix A StillColorNI-IMAQ User Manual A-8© National Instruments CorporationImage RepresentationsColor images can be represented in several differen

Page 41 - NI-IMAQ User Manual A-4

Appendix A StillColor© National Instruments Corporation A-9 NI-IMAQ User Manualused if you are performing averaging on your image. For example, averag

Page 42 - Composite Color Acquisition

© National Instruments Corporation B-1 NI-IMAQ User ManualBCustomer CommunicationFor your convenience, this appendix contains forms to help you gather

Page 43 - Introduction to Color

NI-IMAQ User Manual B-2© National Instruments CorporationFax-on-Demand SupportFax-on-Demand is a 24-hour information retrieval system containing a lib

Page 44

Technical Support FormPhotocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this fo

Page 45 - Color Planes

ContentsNI-IMAQ User Manual vi© National Instruments CorporationChapter 3Programming with NI-IMAQIntroduction ...

Page 46 - 32-Bit HSL and HSI

NI-IMAQ Hardware and Software Configuration FormRecord the settings and revisions of your hardware and software on the line to the right of each item.

Page 47 - Customer Communication

Documentation Comment FormNational Instruments encourages you to comment on the documentation supplied with our products. This information helps us pr

Page 48 - Country Telephone Fax

© National Instruments Corporation G-1 NI-IMAQ User ManualGlossaryPrefix Meanings Valuep- pico 10–12n- nano- 10–9µ- micro- 10–6m- milli- 10–3k- kilo-

Page 49 - Technical Support Form

GlossaryNI-IMAQ User Manual G-2© National Instruments Corporationactive line region the region of lines actively being stored; defined by a line start

Page 50 - Other Products

Glossary© National Instruments Corporation G-3 NI-IMAQ User Manualblack reference level the level that represents the darkest an image can get. See al

Page 51 - Mail to:

GlossaryNI-IMAQ User Manual G-4© National Instruments CorporationDD/A digital-to-analogDAC digital-to-analog converter; an electronic device, often an

Page 52 - Numbers/Symbols

Glossary© National Instruments Corporation G-5 NI-IMAQ User Manualdynamic range the ratio of the largest signal level a circuit can handle to the smal

Page 53 - NI-IMAQ User Manual G-2

GlossaryNI-IMAQ User Manual G-6© National Instruments Corporationfunction a set of software instructions executed by a single line of code that may ha

Page 54

Glossary© National Instruments Corporation G-7 NI-IMAQ User ManualIIC integrated circuitID identificationIEEE Institute of Electrical and Electronics

Page 55 - NI-IMAQ User Manual G-4

GlossaryNI-IMAQ User Manual G-8© National Instruments CorporationKk kilo—the standard metric prefix for 1,000, or 103, used with units of measure such

Page 56

Contents© National Instruments Corporation vii NI-IMAQ User ManualFiguresFigure 3-1. NI-IMAQ Status Signals ...

Page 57 - NI-IMAQ User Manual G-6

Glossary© National Instruments Corporation G-9 NI-IMAQ User Manualmemory buffer See buffer. memory window continuous blocks of memory that can be acce

Page 58

GlossaryNI-IMAQ User Manual G-10© National Instruments CorporationPCLKIN pixel clock in signalPFI programmable function inputPGIA programmable gain in

Page 59 - NI-IMAQ User Manual G-8

Glossary© National Instruments Corporation G-11 NI-IMAQ User Manualresolution the smallest signal increment that can be detected by a measurement syst

Page 60

GlossaryNI-IMAQ User Manual G-12© National Instruments Corporationsyntax the set of rules to which statements must conform in a particular programming

Page 61 - NI-IMAQ User Manual G-10

Glossary© National Instruments Corporation G-13 NI-IMAQ User ManualVSYNC vertical sync signal—the synchronization pulse generated at the beginning of

Page 62

© National Instruments Corporation I-1 NI-IMAQ User ManualIndexAacquisition functions, 2-5application development, 1-2 to 1-4creating applications, 1-

Page 63 - NI-IMAQ User Manual G-12

IndexNI-IMAQ User Manual I-2© National Instruments CorporationFfax and telephone support numbers, B-2Fax-on-Demand support, B-2files required for appl

Page 64

Index© National Instruments Corporation I-3 NI-IMAQ User Manualsequence functions, 3-15 to 3-16snap functions, 3-14 to 3-15attribute functions, 2-6buf

Page 65

IndexNI-IMAQ User Manual I-4© National Instruments Corporationsession functionslist of functions, 2-4programming considerations, 3-3 to 3-4signal I/O

Page 66 - NI-IMAQ User Manual I-2

© National Instruments Corporation ix NI-IMAQ User ManualAbout This ManualNI-IMAQ software is a powerful application programming interface (API) betwe

Page 67

About This ManualNI-IMAQ User Manual x© National Instruments Corporation• Appendix B, Customer Communication, contains forms you can use to request he

Page 68 - NI-IMAQ User Manual I-4

About This Manual© National Instruments Corporation xi NI-IMAQ User ManualNational Instruments DocumentationThe NI-IMAQ User Manual is one piece of th

Comments to this Manuals

No comments