National Instruments IMAQTM Digital Camera User Manual


 
© National Instruments Corporation v IMAQ Vision for Visual Basic User Manual
Contents
About This Manual
Conventions ...................................................................................................................ix
Related Documentation..................................................................................................x
Chapter 1
Introduction to IMAQ Vision
About IMAQ Vision ......................................................................................................1-1
Documentation and Examples .......................................................................................1-1
IMAQ Vision for Visual Basic Organization ................................................................1-2
cwimaq.ocx......................................................................................................1-3
CWIMAQ Control ............................................................................1-3
CWIMAQVision Control..................................................................1-3
CWIMAQViewer Control.................................................................1-3
niocr.ocx..........................................................................................................1-4
NIOCR control..................................................................................1-4
cwmv.ocx.........................................................................................................1-4
CWMachineVision control ...............................................................1-4
ActiveX Objects ..............................................................................................1-5
Creating IMAQ Vision Applications.............................................................................1-5
Chapter 2
Getting Measurement-Ready Images
Set Up Your Imaging System........................................................................................2-1
Calibrate Your Imaging System ....................................................................................2-2
Create an Image .............................................................................................................2-2
Acquire or Read an Image .............................................................................................2-4
Acquiring an Image.........................................................................................2-4
One-Shot Acquisition........................................................................2-4
Continuous Acquisition.....................................................................2-5
Reading a File..................................................................................................2-6
Converting an Array to an Image....................................................................2-6
Display an Image ...........................................................................................................2-6
Attach Calibration Information......................................................................................2-7
Analyze an Image ..........................................................................................................2-7