Thorlabs_ConfigureTrigger
Sets triggering parameters.
Syntax
C++
Python
def Thorlabs_ConfigureTrigger( state: Thorlabs_State, /, *, inDeviceID: str | None = None, inTriggerEnabled: bool = False, inTriggerPolarity: ThorlabsTriggerPolarity = ThorlabsTriggerPolarity.ACTIVE_HIGH, inFrameCount: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Thorlabs_State | |||
![]() |
inDeviceID | str | None | None | Camera serial number or name, Auto = first camera | |
![]() |
inTriggerEnabled | bool | False | True if using trigger | |
![]() |
inTriggerPolarity | ThorlabsTriggerPolarity | ThorlabsTriggerPolarity.ACTIVE_HIGH | Polarity of trigger input | |
![]() |
inFrameCount | int | None | 1 - ![]() |
None | Number of frames to capture after trigger, Auto = continuous acquisition |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



