Page 3 - Important Information
Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defectsin materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. Natio...
Page 4 - Conventions
Conventions The following conventions are used in this manual: » The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog...
Page 5 - Contents
© National Instruments Corporation v NI-IMAQ for IEEE-1394 Cameras User Manual Contents Chapter 1Introduction to NI-IMAQ for IEEE-1394 Cameras About the NI-IMAQ Software ....................................................................................... 1-1 Application Development Environments ....
Page 6 - Glossary
Contents NI-IMAQ for IEEE-1394 Cameras User Manual vi ni.com Introductory Programming Examples ........................................................................... 3-5 High-Level Snap Functions ............................................................................ 3-5High-Level Grab Fun...
Page 7 - About the NI-IMAQ Software
© National Instruments Corporation 1-1 NI-IMAQ for IEEE-1394 Cameras User Manual 1 Introduction to NI-IMAQ forIEEE-1394 Cameras This chapter describes the NI-IMAQ for IEEE-1394 software and lists theapplication development environments compatible with NI-IMAQ,describes the fundamentals of creating N...
Page 8 - Application Development Environments; Configuring Your IEEE-1394 Camera
Chapter 1 Introduction to NI-IMAQ for IEEE-1394 Cameras NI-IMAQ for IEEE-1394 Cameras User Manual 1-2 ni.com Application Development Environments This release of NI-IMAQ for 1394 supports the following ApplicationDevelopment Environments (ADEs) for Windows 2000 andWindows Me/98: • LabVIEW version 5....
Page 9 - Architecture
Chapter 1 Introduction to NI-IMAQ for IEEE-1394 Cameras © National Instruments Corporation 1-3 NI-IMAQ for IEEE-1394 Cameras User Manual Fundamentals of Building Applications withNI-IMAQ for 1394 Architecture A block diagram of the NI-IMAQ for 1394 architecture shown inFigure 1-1 illustrates the low...
Page 10 - The NI-IMAQ Libraries
Chapter 1 Introduction to NI-IMAQ for IEEE-1394 Cameras NI-IMAQ for IEEE-1394 Cameras User Manual 1-4 ni.com The NI-IMAQ Libraries The NI-IMAQ for 1394 for Windows 2000/Me/98 function libraries aredynamic link libraries (DLLs), which means that NI-IMAQ for 1394routines are not linked into the execut...
Page 11 - Sample Programs
Chapter 1 Introduction to NI-IMAQ for IEEE-1394 Cameras © National Instruments Corporation 1-5 NI-IMAQ for IEEE-1394 Cameras User Manual • When compiling, indicate where the compiler can find the NI-IMAQheader files and shared libraries. You can find most of the files youneed for development under t...
Page 12 - Software Overview; Introduction
© National Instruments Corporation 2-1 NI-IMAQ for IEEE-1394 Cameras User Manual 2 Software Overview This chapter describes the classes of NI-IMAQ for 1394 functions andbriefly describes each function. Introduction NI-IMAQ functions are grouped according to the following classes: • Generic functions...
Page 13 - Snap Functions
Chapter 2 Software Overview NI-IMAQ for IEEE-1394 Cameras User Manual 2-2 ni.com High-Level Functions Use high-level functions to quickly and easily capture images. If you needmore advanced functionality, you can mix high-level functions withlow-level functions. Snap Functions Snap functions capture...
Page 14 - Sequence Functions; Acquisition Functions
Chapter 2 Software Overview © National Instruments Corporation 2-3 NI-IMAQ for IEEE-1394 Cameras User Manual Sequence Functions Sequence functions start and stop a continuous acquisition of multipleframes. imaq1394SetupSequenceImage Configures and starts a session foracquiring a full sequence into t...
Page 15 - Attribute Functions
Chapter 2 Software Overview NI-IMAQ for IEEE-1394 Cameras User Manual 2-4 ni.com imaq1394StopAcquisition Stops an asynchronous acquisitionor synchronous continuousacquisition immediately. imaq1394GetBuffer Copies a frame buffer to auser-specified buffer. imaq1394GetImage Copies a session’s image dat...
Page 16 - Utility Functions
Chapter 2 Software Overview © National Instruments Corporation 2-5 NI-IMAQ for IEEE-1394 Cameras User Manual Utility Functions Use utility functions to display an image in a window, save an image to afile, or to get detailed error information. imaq1394Plot Plots a buffer to a window given ahandle to...
Page 18 - Establishing Interface Connections; Camera Functions
Chapter 3 Programming with NI-IMAQ for 1394 NI-IMAQ for IEEE-1394 Cameras User Manual 3-2 ni.com Low-Level Functions The low-level function set supports all types of acquisition. You can uselow-level functions to start a synchronous or asynchronous acquisition. Establishing Interface Connections To ...
Page 19 - Camera Attributes
Chapter 3 Programming with NI-IMAQ for 1394 © National Instruments Corporation 3-3 NI-IMAQ for IEEE-1394 Cameras User Manual Before you can acquire image data successfully, you must open a camerawith the imaq1394CameraOpen function. imaq1394CameraOpen requires a camera name and returns a handle to t...
Page 20 - Scalable Image Size
Chapter 3 Programming with NI-IMAQ for 1394 NI-IMAQ for IEEE-1394 Cameras User Manual 3-4 ni.com Scalable Image Size IEEE-1394 digital cameras support a predefined set of image sizes whichyou can select through the Format and Mode attributes in MAX. See your camera documentation for a list of suppor...
Page 21 - Introductory Programming Examples; High-Level Snap Functions
Chapter 3 Programming with NI-IMAQ for 1394 © National Instruments Corporation 3-5 NI-IMAQ for IEEE-1394 Cameras User Manual Introductory Programming Examples This section introduces some examples for performing the different typesof image acquisition. Note The error codes returned by NI-IMAQ are no...
Page 22 - High-Level Grab Functions
Chapter 3 Programming with NI-IMAQ for 1394 NI-IMAQ for IEEE-1394 Cameras User Manual 3-6 ni.com When you invoke a snap, it initializes the IMAQ 1394 device and acquiresthe next incoming video frame to a buffer. Use a snap for low-speed orsingle-capture applications where ease of programming is esse...
Page 24 - High-Level Sequence Functions
Chapter 3 Programming with NI-IMAQ for 1394 NI-IMAQ for IEEE-1394 Cameras User Manual 3-8 ni.com High-Level Sequence Functions Sequence functions include imaq1394SetupSequence . A sequence initiates a variable-length and variable-delay transfer to multiple buffers.You can configure the delay between...
Page 25 - Advanced Programming Examples; Performing a Snap Using Low-Level Functions
Chapter 3 Programming with NI-IMAQ for 1394 © National Instruments Corporation 3-9 NI-IMAQ for IEEE-1394 Cameras User Manual Advanced Programming Examples Use low-level functions or combine high-and low-level functions for moreadvanced programming techniques, including snap, grab, and sequence. Perf...
Page 26 - Performing an Asynchronous Snap Using Low-Level Functions; Performing an Asynchronous Grab using Low-Level Functions
Chapter 3 Programming with NI-IMAQ for 1394 NI-IMAQ for IEEE-1394 Cameras User Manual 3-10 ni.com Performing an Asynchronous Snap Using Low-Level Functions The Low-Level Snap1394 Async example demonstrates how to perform anasynchronous acquisition using low-level calls. The example sets up asingle-f...
Page 28 - Location of NI-IMAQ for 1394 Examples; Location of the NI-IMAQ for 1394 VIs
Chapter 4 Programming with NI-IMAQ for 1394 VIs NI-IMAQ for IEEE-1394 Cameras User Manual 4-2 ni.com Location of NI-IMAQ for 1394 Examples The NI-IMAQ VI for IEEE-1394 Cameras examples illustrate somecommon applications. You can find these examples in the labview\examples\imaq directory for LabVIEW....
Page 29 - Common NI-IMAQ for 1394 VI Parameters
Chapter 4 Programming with NI-IMAQ for 1394 VIs © National Instruments Corporation 4-3 NI-IMAQ for IEEE-1394 Cameras User Manual The most commonly used VIs are on the IMAQ for IEEE-1394 palette. You can find VIs for basic acquisition and changing attributes.The Motion and Vision»IMAQ for IEEE-1394»I...
Page 31 - NI-IMAQ for 1394 Acquisition Types; Snap; Grab
Chapter 4 Programming with NI-IMAQ for 1394 VIs © National Instruments Corporation 4-5 NI-IMAQ for IEEE-1394 Cameras User Manual NI-IMAQ for 1394 Acquisition Types Three NI-IMAQ image acquisition types are available in LabVIEW—snap,grab, and sequence. The following sections describe each acquisition...
Page 33 - Acquisition VIs
Chapter 4 Programming with NI-IMAQ for 1394 VIs © National Instruments Corporation 4-7 NI-IMAQ for IEEE-1394 Cameras User Manual Figure 4-6 shows a simplified block diagram for using IMAQ1394 Sequence . Place IMAQ Create inside a For Loop to create an array of images for the Images in input to IMAQ1...
Page 34 - Triggering; Image Display
Chapter 4 Programming with NI-IMAQ for 1394 VIs NI-IMAQ for IEEE-1394 Cameras User Manual 4-8 ni.com 4. Call IMAQ1394 Get Image . 5. After an acquisition, release the resources associated with theacquisition using IMAQ1394 Close . IMAQ1394 Close also stops the acquisition if one is in progress. If y...
Page 38 - Error Handling
Chapter 4 Programming with NI-IMAQ for 1394 VIs NI-IMAQ for IEEE-1394 Cameras User Manual 4-12 ni.com Error Handling Every NI-IMAQ for 1394 VI contains an error in input cluster and an error out output cluster, as shown in Figure 4-12. The clusters contain a Boolean value that indicates whether an e...
Page 39 - Error Code Format
Chapter 4 Programming with NI-IMAQ for 1394 VIs © National Instruments Corporation 4-13 NI-IMAQ for IEEE-1394 Cameras User Manual Error Code Format Error format for all NI-IMAQ for 1394 VIs is the same, as follows: error in (no error) is a cluster that describes the error status before this VI execu...
Page 41 - Technical Support Resources; Web Support; Customer Education; System Integration
© National Instruments Corporation A-1 NI-IMAQ for IEEE-1394 Cameras User Manual A Technical Support Resources Web Support National Instruments Web support is your first stop for help in solvinginstallation, configuration, and application problems and questions. Onlineproblem-solving and diagnostic ...
Page 42 - Worldwide Support
Appendix A Technical Support Resources NI-IMAQ for IEEE-1394 Cameras User Manual A-2 ni.com Worldwide Support National Instruments has offices located around the world to help addressyour support needs. You can access our branch office Web sites from theWorldwide Offices section of ni.com . Branch o...
Page 51 - Index
© National Instruments Corporation I-1 NI-IMAQ for IEEE-1394 Cameras User Manual Index A acquisition functions, 2-3advanced programming examples, 3-9 to 3-10 asynchronous grab using low-level functions, 3-10 asynchronous snap using low-level functions, 3-10 grab using low-level functions, 3-9sequenc...