Thermal Camera SDK 10.1.1
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
optris::PifDiConfig Class Reference

Encapsulates the configuration for a PIF digital input channel. More...

#include <PifChannelConfigs.h>

Collaboration diagram for optris::PifDiConfig:
Collaboration graph

Public Member Functions

OTC_SDK_API PifDiConfig () noexcept
 Constructor.
 

Static Public Member Functions

static OTC_SDK_API PifDiConfig createOff (int deviceIndex, int pinIndex) noexcept
 Creates a configuration for the mode PifDiMode::Off.
 
static OTC_SDK_API PifDiConfig createFlagControl (int deviceIndex, int pinIndex, bool openIfLow) noexcept
 Create a configuration for the mode PifDiMode::FlagControl.
 

Public Attributes

int deviceIndex
 Identifies the channel by specifying the PIF device on which its pins are located.
 
int pinIndex
 Identifies the channel by locating its pins on the specified PIF device.
 
PifDiMode mode
 Mode to be applied to the channel.
 
bool triggerLowActive
 Indicates whether the trigger will be pulled if the input signal is low.
 

Detailed Description

Encapsulates the configuration for a PIF digital input channel.

For a detailed overview of all available modes and parameters please refer to the corresponding section in the documentation of the configuration file.

Member Function Documentation

◆ createFlagControl()

static OTC_SDK_API PifDiConfig optris::PifDiConfig::createFlagControl ( int deviceIndex,
int pinIndex,
bool openIfLow )
staticnoexcept

Create a configuration for the mode PifDiMode::FlagControl.

Attention
This mode is unique and can only be applied once for all channels.
Parameters
[in]deviceIndexidentifying the channel.
[in]pinIndexidentifying the channel.
[in]openIfLowif true, the shutter flag will be opend, if the input signal is low.
Returns
configuration for the mode PifDiMode::FlagControl.

◆ createOff()

static OTC_SDK_API PifDiConfig optris::PifDiConfig::createOff ( int deviceIndex,
int pinIndex )
staticnoexcept

Creates a configuration for the mode PifDiMode::Off.

Parameters
[in]deviceIndexidentifying the channel.
[in]pinIndexidentifying the channel.
Returns
configuration for the mode PifDiMode::Off.

The documentation for this class was generated from the following file: