Acquisition VIs

NI-IMAQdx

Acquisition VIs

Two types of acquisition VIs are available in LabVIEW

High-Level Acquisition VIs

Use the high-level acquisition VIs for basic image acquisition applications. VIs are included for snap, grab, and sequence, as described in the Acquisition Types section of this chapter.

Low-Level Acquisition VIs

Use the low-level acquisition VIs for more advanced image acquisition applications. The low-level VIs configure an acquisition, start an acquisition, retrieve the acquired images, and stop an acquisition. You can use these VIs to construct advanced Vision applications.

Complete the following general steps to perform a low-level acquisition.

  1. Call IMAQdx Open Camera to initialize the board and create an NI-IMAQdx Session.
  2. Call IMAQdx Configure Acquisition to allocate resources for the acquisition.
  3. Call IMAQdx Start Acquisition to start transferring data from the camera.
  4. Call IMAQdx Get Image to obtain a copy of the requested image data.
  5. After an acquisition, call IMAQdx Stop Acquisition to stop transferring data from the camera.
  6. Call IMAQdx Unconfigure Acquisition to release the resources associated with the acquisition.
  7. Call IMAQdx Close Camera to close the camera session.
Note Note  If an acquisition is in progress and you call IMAQdx Close Camera, the driver automatically stops the acquisition and releases resources associated with the acquisition.