Contains defines controlling the Windows DLL export and import of symbols.
#define OTC_SDK_API
Only needed when working with Windows DLLs.
Definition Api.h:65
Contains various enums and structs representing the properties of fields.
Contains an interface representing a measurement field.
Contains enums defining various properties of process interfaces.
Contains a class holding the parameters for a linear transformation.
std::shared_ptr< const MeasurementField > ConstShared
Shared pointer type for measurement fields.
Definition MeasurementField.h:27
Main SDK namespace.
Definition AlarmChannel.h:21
PifAoMode
Represents the available modes for PIF analog output channels.
Definition PifProperties.h:59
@ Off
Off.
Definition PifProperties.h:60
PifAiMode
Represents the available modes for PIF analog input channels.
Definition PifProperties.h:42
@ Off
Off.
Definition PifProperties.h:43
PifFsMode
Represents the available modes for PIF fail safe channels.
Definition PifProperties.h:83
@ Off
Off.
Definition PifProperties.h:84
PifDiMode
Represents the available modes for PIF digital input channels.
Definition PifProperties.h:52
@ Off
Off.
Definition PifProperties.h:53
FieldStat
Represents the different field statistics that can be used by other components (PIF,...
Definition FieldProperties.h:33
@ Mean
Mean field temperature.
Definition FieldProperties.h:36
PifAoOutputMode
Represents the available output modes for PIF analog output channels.
Definition PifProperties.h:90
@ _0_10V
0 V - 10 V
Definition PifProperties.h:93
PifDoMode
Represents the available modes for PIF digital output channels.
Definition PifProperties.h:72
@ Off
Off.
Definition PifProperties.h:73
Encapsulates the configuration for a PIF analog input channel.
Definition PifChannelConfigs.h:33
std::string uncommittedValueUnit
Unit of the uncommitted value.
Definition PifChannelConfigs.h:52
bool triggerLowActive
Indicates whether the trigger will be pulled if the input voltage is below or above the threshold.
Definition PifChannelConfigs.h:47
Slope slope
Defines how input voltages are converted into the desired target values.
Definition PifChannelConfigs.h:42
static OTC_SDK_API PifAiConfig createFlagControl(int deviceIndex, int pinIndex, float threshold, bool openIfLow) noexcept
Creates a configuration for the mode PifAiMode::FlagControl.
static OTC_SDK_API PifAiConfig createEmissivity(int deviceIndex, int pinIndex, float gain, float offset) noexcept
Creates a configuration for the mode PifAiMode::Emissivity.
PifIndex index
Identifies the channel by the indices of its pin and the PIF device on which it is located.
Definition PifChannelConfigs.h:35
static OTC_SDK_API PifAiConfig createOff(int deviceIndex, int pinIndex) noexcept
Creates a configuration for the mode PifAiMode::Off.
std::string uncommittedValueName
Name of the uncommitted value.
Definition PifChannelConfigs.h:50
static OTC_SDK_API PifAiConfig createAmbientTemperature(int deviceIndex, int pinIndex, float gain, float offset) noexcept
Creates a configuration for the mode PifAiMode::AmbientTemperature.
static OTC_SDK_API PifAiConfig createUncommittedValue(int deviceIndex, int pinIndex, const std::string &name, const std::string &unit, float gain, float offset) noexcept
Creates a configuration for the mode PifAiMode::UncommittedValue.
PifAiMode mode
Mode to be applied to the channel.
Definition PifChannelConfigs.h:39
float triggerThreshold
Trigger threshold for the input voltage.
Definition PifChannelConfigs.h:45
Encapsulates the configuration for a PIF analog output channel.
Definition PifChannelConfigs.h:188
PifAoMode mode
Mode to be applied to the channel.
Definition PifChannelConfigs.h:194
static OTC_SDK_API PifAoConfig createExternalCommunication(int deviceIndex, int pinIndex, PifAoOutputMode outputMode) noexcept
Creates a configuration for the mode PifAoMode::ExternalCommunication.
Slope slope
Defines how data points are converted into output values.
Definition PifChannelConfigs.h:199
static OTC_SDK_API PifAoConfig createMeasurementField(int deviceIndex, int pinIndex, PifAoOutputMode outputMode, const MeasurementField::ConstShared &field, FieldStat fieldStat, float gain, float offset) noexcept
Creates a configuration for the mode PifAoMode::MeasurementField.
int fieldIndex
Identifies the measurement field by its index.
Definition PifChannelConfigs.h:202
PifIndex index
Identifies the channel by the indices of its pin and the PIF device on which it is located.
Definition PifChannelConfigs.h:190
FieldStat fieldStat
Determines which field statistic should be output.
Definition PifChannelConfigs.h:204
static OTC_SDK_API PifAoConfig createFlagStatus(int deviceIndex, int pinIndex, PifAoOutputMode outputMode, float open, float moving, float closed) noexcept
Creates a configuration for the mode PifAoMode::FlagStatus.
static OTC_SDK_API PifAoConfig createOff(int deviceIndex, int pinIndex) noexcept
Creates a configuration for the mode PifAoMode::Off.
static OTC_SDK_API PifAoConfig createInternalTemperature(int deviceIndex, int pinIndex, PifAoOutputMode outputMode, float gain, float offset) noexcept
Creates a configuration for the mode PifAoMode::InternalTemperature.
float outputIntermediate
Output value for an intermediate event/state.
Definition PifChannelConfigs.h:209
float outputActive
Output value for an active event/state.
Definition PifChannelConfigs.h:207
static OTC_SDK_API PifAoConfig createFailSafe(int deviceIndex, int pinIndex, PifAoOutputMode outputMode, float pulse) noexcept
Creates a configuration for the mode PifAoMode::FailSafe.
PifAoOutputMode outputMode
Output mode to be applied to the channel.
Definition PifChannelConfigs.h:196
float outputInactive
Output value for an inactive event/state.
Definition PifChannelConfigs.h:211
static OTC_SDK_API PifAoConfig createFrameSync(int deviceIndex, int pinIndex, PifAoOutputMode outputMode, float pulse) noexcept
Creates a configuration for the mode PifAoMode::FrameSync.
static OTC_SDK_API PifAoConfig createAlarm(int deviceIndex, int pinIndex, PifAoOutputMode outputMode, float active, float clear) noexcept
Creates a configuration for the mode PifAoMode::Alarm.
Encapsulates the configuration for a PIF digital input channel.
Definition PifChannelConfigs.h:144
PifIndex index
Identifies the channel by the indices of its pin and the PIF device on which it is located.
Definition PifChannelConfigs.h:146
bool triggerLowActive
Indicates whether the trigger will be pulled if the input signal is low.
Definition PifChannelConfigs.h:153
static OTC_SDK_API PifDiConfig createOff(int deviceIndex, int pinIndex) noexcept
Creates a configuration for the mode PifDiMode::Off.
PifDiMode mode
Mode to be applied to the channel.
Definition PifChannelConfigs.h:150
static OTC_SDK_API PifDiConfig createFlagControl(int deviceIndex, int pinIndex, bool openIfLow) noexcept
Create a configuration for the mode PifDiMode::FlagControl.
Encapsulates the configuration for a PIF digital output channel.
Definition PifChannelConfigs.h:353
PifDoMode mode
Mode to be applied to the channel.
Definition PifChannelConfigs.h:359
PifIndex index
Identifies the channel by the indices of its pin and the PIF device on which it is located.
Definition PifChannelConfigs.h:355
static OTC_SDK_API PifDoConfig createFrameSync(int deviceIndex, int pinIndex) noexcept
Create a configuration for the mode PifDoMode::FrameSync.
static OTC_SDK_API PifDoConfig createExternalCommunication(int deviceIndex, int pinIndex) noexcept
Creates a configuration for the mode PifDoMode::ExternalCommunication.
static OTC_SDK_API PifDoConfig createFailSafe(int deviceIndex, int pinIndex) noexcept
Creates a configuration for the mode PifDoMode::FailSafe.
static OTC_SDK_API PifDoConfig createOff(int deviceIndex, int pinIndex) noexcept
Creates a configuration for the mode PifDoMode::Off.
static OTC_SDK_API PifDoConfig createFlagStatus(int deviceIndex, int pinIndex, bool lowIfOpen) noexcept
Creates a configuration for the mode PifDoMode::FlagStatus.
static OTC_SDK_API PifDoConfig createAlarm(int deviceIndex, int pinIndex, bool lowIfActive) noexcept
Creates a configuration for the mode PifDoMode::Alarm.
bool outputLowActive
Indicates if the output is low active.
Definition PifChannelConfigs.h:362
Encapsulates the configuration for a PIF fail safe channel.
Definition PifChannelConfigs.h:446
static OTC_SDK_API PifFsConfig createOff() noexcept
Creates a configuration for the PifFsMode::Off.
PifFsMode mode
Mode to be applied to the channel.
Definition PifChannelConfigs.h:448
static OTC_SDK_API PifFsConfig createOn() noexcept
Creates a configuration for the PifFsMode::On.
Holds the indices that identify the physical pin on a PIF device for a PIF channel.
Definition PifProperties.h:98
Encapsulates the parameters of a linear transformation.
Definition Slope.h:25