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.
- Call IMAQdx Open Camera to initialize the board and create an NI-IMAQdx Session.
- Call IMAQdx Configure Acquisition to allocate resources for the acquisition.
- Call IMAQdx Start Acquisition to start transferring data from the camera.
- Call IMAQdx Get Image to obtain a copy of the requested image data.
- After an acquisition, call IMAQdx Stop Acquisition to stop transferring data from the camera.
- Call IMAQdx Unconfigure Acquisition to release the resources associated with the acquisition.
- Call IMAQdx Close Camera to close the camera session.
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. |