Back to Adaptive Vision Library website

You are here: Start » Function Reference » Camera Support » Thorlabs » Thorlabs_ConfigureCamera

Thorlabs_ConfigureCamera


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sets various camera's parameters before starting acquisition.

Syntax

void avl::Thorlabs_ConfigureCamera
(
	Thorlabs_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	atl::Optional<const avl::Box&> inRoi,
	int inXBin,
	int inYBin,
	avl::ThorlabsReadoutSpeed::Type inReadoutSpeed,
	avl::ThorlabsTaps::Type inTaps,
	bool inTapBalance
)

Parameters

Name Type Range Default Description
ioState Thorlabs_State& Object used to maintain state of the function.
inDeviceID Optional<const String&> NIL Camera serial number or name, Auto = first camera
inRoi Optional<const Box&> NIL Region of interest, Auto = full frame
inXBin int 1 - 1 Horizontal binning factor
inYBin int 1 - 1 Vertical binning factor
inReadoutSpeed ThorlabsReadoutSpeed::Type Speed of camera's sensor readout clock
inTaps ThorlabsTaps::Type Number of taps (simultaneous camera sensor readout operations per clock cycle)
inTapBalance bool Whether internal tap balancing is enabled

Multithreaded environment

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