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
Input will be modified ioState Thorlabs_State
Input value inDeviceID str | None None Camera serial number or name, Auto = first camera
Input value inTriggerEnabled bool False True if using trigger
Input value inTriggerPolarity ThorlabsTriggerPolarity ThorlabsTriggerPolarity.ACTIVE_HIGH Polarity of trigger input
Input value 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.