cwimaq.ocx

NI IMAQ

cwimaq.ocx

cwimaq.ocx contains three ActiveX controls and a collection of ActiveX objects. The ActiveX controls are the CWIMAQ control, the CWIMAQVision control, and the CWIMAQViewer control. Refer to ActiveX Objects for more information about the ActiveX objects.

CWIMAQ Control

Use this control to configure and perform an acquisition from an image acquisition device. The CWIMAQ control has property pages that allow you to modify various properties to configure your acquisition and gather information about your image acquisition device. All 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 device driver installed on the target system for the CWIMAQ control to function.

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.

Note  This control is available only if you have NI Vision for Visual Basic installed. Contact your National Instruments sales representative, or visit the National Instruments Web site at ni.com to purchase NI Vision for Visual Basic.

CWIMAQViewer Control

Use this control to display images and provide the interface through which the user interacts with the displayed image. This control 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 appearance and behavior of the viewer 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.