Back to FabImage Library website
You are here: Start » Function Reference » Camera Support » Thorlabs » Thorlabs_ConfigureTrigger
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Sets triggering parameters.
Syntax
void fil::Thorlabs_ConfigureTrigger ( Thorlabs_State& ioState, ftl::Optional<const ftl::String&> inDeviceID, bool inTriggerEnabled, fil::ThorlabsTriggerPolarity::Type inTriggerPolarity, ftl::Optional<int> inFrameCount )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | Thorlabs_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceID | Optional<const String&> | NIL | Camera serial number or name, Auto = first camera | |
![]() |
inTriggerEnabled | bool | False | True if using trigger | |
![]() |
inTriggerPolarity | ThorlabsTriggerPolarity::Type | Polarity of trigger input | ||
![]() |
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 FabImage 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
- Thorlabs_GrabImage – Captures an image from a Thorlabs device.
- Thorlabs_GrabImage_WithTimeout – Captures an image from a Thorlabs device.