Back to Aurora Vision Library Lite website

You are here: Start » Camera Support » Allied Vision Technologies » Vimba_GrabImage

Vimba_GrabImage


Header: ThirdPartySdk.h
Namespace: avl

Captures an image from an Allied Vision camera.

Syntax

bool avl::Vimba_GrabImage
(
	Vimba_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	const avl::VimbaImageFormatParams& inImageFormat,
	const avl::VimbaAcquisitionControlParams& inAcquisitionControl,
	avl::Image& outImage
)

Parameters

Name Type Default Description
Input will be modified ioState Vimba_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const String&> NIL Device identifying address
Input value inImageFormat const VimbaImageFormatParams& Image format parameters
Input value inAcquisitionControl const VimbaAcquisitionControlParams& Acquisition control parameters
Output value outImage Image& Captured frame

Remarks

Camera driver software

This filter is intended to cooperate with cameras using their vendor's SDK. In order to connect with the camera, it is required to install Vimba SDK software.

Vimba SDK can be downloaded from the following website: https://www.alliedvision.com/en/products/software.html

To verify the driver installation, you can run Vimba Viewer. If the camera was detected and you can see the view from the camera, you can use Vimba SDK in Aurora Vision Studio.

Recommended Vimba SDK version for Aurora Vision Studio usage is 6.0.

Camera identification

When there is only one Allied Vision camera connected, the field inDeviceID can be set to Auto. In this situation, the first available camera will be used.

inDeviceID can be used to pick one of multiple cameras connected to the computer. inDeviceID should be set to camera ID.