Cwimaq.ocx, Cwimaq control, Cwimaqvision control – National Instruments IMAQTM User Manual

Page 13: Cwimaqviewer control, Cwimaq.ocx -3

Advertising
background image

Chapter 1

Introduction to IMAQ Vision

© National Instruments Corporation

1-3

IMAQ Vision for Visual Basic User Manual

cwimaq.ocx

cwimaq.ocx

contains the following three ActiveX controls and a

collection of ActiveX objects: CWIMAQ, CWIMAQVision, and
CWIMAQViewer. Refer to the

ActiveX Objects

section for information

about the ActiveX objects.

CWIMAQ Control

Use this control to configure and perform an acquisition from the IMAQ
device. The CWIMAQ control has property pages that allow you to modify
various parameters to configure the acquisition and gather information
about the IMAQ device. Most of the functionality available from the
property pages during design time is also available through the properties
of the CWIMAQ control during run-time. The control has methods that
allow you to perform and control acquisitions, as well.

Note

You must have the NI-IMAQ driver software installed on the target system to use the

CWIMAQ control. For information about NI-IMAQ, refer to the NI-IMAQ User Manual
that came with the IMAQ device.

CWIMAQVision Control

Use this control to analyze and process images and their related data. The
CWIMAQVision control provides methods for reading and writing images
to and from files, analyzing images, and performing a variety of image
processing algorithms on images.

CWIMAQViewer Control

Use this control to display images and provide the interface through which
the user will interact with the displayed image. This includes the ability to
zoom and pan images and to draw regions of interest (ROIs) on an image.
The CWIMAQViewer control has property pages that allow you to
configure the viewer’s appearance and behavior during design time as well
as properties that you can configure during run-time. The control has
methods that allow you to attach images to and detach images from the
viewer for display purposes.

Note

The CWIMAQViewer control is referred to as a

viewer

in the remainder of this

document.

Advertising