Back to Adaptive Vision Library website

You are here: Start » Function Reference » BitFlow » BitFlow_StartAcquisition

BitFlow_StartAcquisition


Header:ThirdPartySdk.h
Namespace:avl

Captures a frame using BitFlow frame grabber.

Syntax

void avl::BitFlow_StartAcquisition
(
	BitFlow_BaseState& ioState,
	int inBoardNumber,
	const atl::File& inCameraFileName,
	int inInputQueueSize,
	avl::BitFlowTriggerMode::Type inTriggerMode,
	avl::BitFlowTrigAssignments::Type inTriggerAssignments,
	avl::BitFlowTrigPolarity::Type inTriggerAPolarity,
	avl::BitFlowTrigPolarity::Type inTriggerBPolarity
)

Parameters

Name Type Range Default Description
ioState BitFlow_BaseState& Object used to maintain state of the function.
inBoardNumber int Index of board
inCameraFileName const File& Camera file
inInputQueueSize int 1 - 200 4 Number of incoming frames that can be buffered before the application is able to process them
inTriggerMode BitFlowTriggerMode::Type Trigger mode of the current camera
inTriggerAssignments BitFlowTrigAssignments::Type Assign trigger to acquisition engine
inTriggerAPolarity BitFlowTrigPolarity::Type Polarity for trigger B
inTriggerBPolarity BitFlowTrigPolarity::Type Polarity for trigger A

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.