Thorlabs_ConfigureCamera


Sets various camera's parameters before starting acquisition.

Syntax

C++
Python
 
def Thorlabs_ConfigureCamera(
	state: Thorlabs_State,
	/,
	*,
	inDeviceID: str | None = None,
	inRoi: Box | None = None,
	inXBin: int = 1,
	inYBin: int = 1,
	inReadoutSpeed: ThorlabsReadoutSpeed = ThorlabsReadoutSpeed._20_MHz,
	inTaps: ThorlabsTaps = ThorlabsTaps._1,
	inTapBalance: bool = False
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState Thorlabs_State
Input value inDeviceID str | None None Camera serial number or name, Auto = first camera
Input value inRoi Box | None None Region of interest, Auto = full frame
Input value inXBin int 1 - 1 Horizontal binning factor
Input value inYBin int 1 - 1 Vertical binning factor
Input value inReadoutSpeed ThorlabsReadoutSpeed ThorlabsReadoutSpeed._20_MHz Speed of camera's sensor readout clock
Input value inTaps ThorlabsTaps ThorlabsTaps._1 Number of taps (simultaneous camera sensor readout operations per clock cycle)
Input value inTapBalance bool False 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.