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 | |
|---|---|---|---|---|---|
![]() |
ioState | Thorlabs_State | |||
![]() |
inDeviceID | str | None | None | Camera serial number or name, Auto = first camera | |
![]() |
inRoi | Box | None | None | Region of interest, Auto = full frame | |
![]() |
inXBin | int | 1 - ![]() |
1 | Horizontal binning factor |
![]() |
inYBin | int | 1 - ![]() |
1 | Vertical binning factor |
![]() |
inReadoutSpeed | ThorlabsReadoutSpeed | ThorlabsReadoutSpeed._20_MHz | Speed of camera's sensor readout clock | |
![]() |
inTaps | ThorlabsTaps | ThorlabsTaps._1 | Number of taps (simultaneous camera sensor readout operations per clock cycle) | |
![]() |
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.



