Back to Aurora Vision Library website

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

Thorlabs_ConfigureTrigger


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sets triggering parameters.

Syntax

void avl::Thorlabs_ConfigureTrigger
(
	Thorlabs_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	bool inTriggerEnabled,
	avl::ThorlabsTriggerPolarity::Type inTriggerPolarity,
	atl::Optional<int> inFrameCount
)

Parameters

Name Type Range Default Description
Input will be modified ioState Thorlabs_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const String&> NIL Camera serial number or name, Auto = first camera
Input value inTriggerEnabled bool False True if using trigger
Input value inTriggerPolarity ThorlabsTriggerPolarity::Type Polarity of trigger input
Input value inFrameCount Optional<int> 1 - NIL Number of frames to capture after trigger, Auto = continuous acquisition

Remarks

Camera driver software

This filter is intended to cooperate with camera using its vendor Thorlabs SDK. To be able to connect to camera it is required to install Thorlabs SDK software with camera dedicated drivers. Currently Aurora Vision Studio uses Thorlabs SDK version 2.9.1.

Thorlabs SDK can be downloaded from the following website: https://www.thorlabs.com/software_pages/ViewSoftwarePage.cfm?Code=ThorCam

Multithreaded environment

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

See Also