Dahua_StartAcquisition


Initializes and starts image acquisition in a camera.

Syntax

C++
Python
 
def Dahua_StartAcquisition(
	state: Dahua_State,
	/,
	*,
	inDeviceID: str | None = None,
	inInputQueueSize: int = 4,
	inFrameRate: float | None = None,
	inExposureTime: float | None = None,
	inGain: float | None = None,
	inBlackLevel: int | None = None,
	inTriggerEnabled: bool | None = None,
	inTriggerSource: DahuaTriggerSource | None = None,
	inTriggerActivation: DahuaTriggerActivation | None = None
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState Dahua_State
Input value inDeviceID str | None None Device identifying number
Input value inInputQueueSize int 1 - 200 4 Capacity of output frames queue
Input value inFrameRate float | None None Requested camera frame rate in frames per second
Input value inExposureTime float | None None Camera frame exposition time
Input value inGain float | None None Analog gain of source image in device raw unit
Input value inBlackLevel int | None None Black level of source image
Input value inTriggerEnabled bool | None None Configure trigger enable
Input value inTriggerSource DahuaTriggerSource | None None Source of acquisition trigger
Input value inTriggerActivation DahuaTriggerActivation | None None Circumstances defining when the trigger is activated

Multithreaded environment

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