298 virtual
void setAoValue(
int deviceIndex,
int pinIndex,
float value) = 0;
355 virtual
void setDoValue(
int deviceIndex,
int pinIndex,
bool value) = 0;
364 virtual
bool hasFs() const noexcept = 0;
Contains a class that encapsulates the the configuration for the process interface.
Encapsulates the configuration for a PIF analog input channel.
Definition PifChannelConfigs.h:31
Encapsulates the configuration for a PIF analog output channel.
Definition PifChannelConfigs.h:199
Holds the configuration of the processing interface.
Definition PifConfig.h:29
Encapsulates the configuration for a PIF digital input channel.
Definition PifChannelConfigs.h:148
Encapsulates the configuration for a PIF digital output channel.
Definition PifChannelConfigs.h:354
Encapsulates the configuration for a PIF fail safe channel.
Definition PifChannelConfigs.h:443
virtual int getConfigurableDoCount() const noexcept=0
Returns the count of all digital output channels on configurable PIFs.
ProcessInterface(ProcessInterface &&)=delete
No move constructor.
virtual int getConfigurableDiCount() const noexcept=0
Returns the count of all digital input channels on configurable PIFs.
virtual PifAiConfig getAiConfig(int deviceIndex, int pinIndex) const =0
Returns the current configuration of the specified analog input channel.
virtual PifDeviceType getDeviceType() const noexcept=0
Returns the PIF device type.
virtual int getActualDoCount() const noexcept=0
Returns the count of all digital output channels on actually connected PIFs.
virtual int getActualDeviceCount() const noexcept=0
Returns the count of actually connected PIFs.
virtual unsigned short getDeviceFirmwareRevision(int deviceIndex) const =0
Returns the firmware revision of the PIF with the given device index.
virtual PifAoConfig getAoConfig(int deviceIndex, int pinIndex)=0
Returns the current configuration of the specified analog output channel.
virtual PifFsConfig getFsConfig()=0
Returns the current fail safe channel configuration.
virtual unsigned long getDeviceSerialNumber(int deviceIndex) const =0
Returns the serial number of the PIF with the given device index.
virtual ~ProcessInterface()=default
Destructor.
virtual void setFsConfig(const PifFsConfig &config)=0
Sets the configuration for the fail safe channel.
virtual bool hasFs() const noexcept=0
Returns wether the PIF has a fail safe channel.
ProcessInterface & operator=(const ProcessInterface &)=delete
No copy assignment.
virtual PifConfig getConfig() const noexcept=0
Returns the current configuration of the entire process interface.
virtual void setAoConfig(const PifAoConfig &config)=0
Sets the configuration for a single analog output channel.
virtual PifAoOutputMode getDefaultAoOutputMode() const noexcept=0
Returns the default analog output mode of the PIF.
virtual void setAoValue(int deviceIndex, int pinIndex, float value)=0
Sets the output value of the specified analog output channel.
virtual int getActualAoCount() const noexcept=0
Returns the count of all analog output channels on actually connected PIFs.
ProcessInterface & operator=(ProcessInterface &&)=delete
No move assignment.
virtual void setDoConfig(const PifDoConfig &config)=0
Sets the configuration for a single digital output channel.
virtual int getActualAiCount() const noexcept=0
Returns the count of all analog input channels on actually connected PIFs.
virtual int getAiCountPerDevice() const noexcept=0
Returns the count of all analog input channels on a single PIF.
ProcessInterface()=default
Constructor.
virtual int getAoCountPerDevice() const noexcept=0
Returns the count of all analog output channels on a single PIF.
virtual bool isActualConnected() const noexcept=0
Returns whether a PIF is actually connected.
virtual void setDiConfig(const PifDiConfig &config)=0
Sets the configuration for a single digital input channel.
virtual void setConfig(const PifConfig &config)=0
Sets the given configuration for the entire process interface.
virtual int getConfigurableAiCount() const noexcept=0
Returns the count of all analog input channels on configurable PIFs.
virtual int getConfigurableDeviceCount() const noexcept=0
Returns the count of configurable PIFs.
virtual int getActualDiCount() const noexcept=0
Returns the count of all digital input channels on actually connected PIFs.
ProcessInterface(const ProcessInterface &)=delete
No copy constructor.
virtual void setAiConfig(const PifAiConfig &config)=0
Sets the configuration for a single analog input channel.
virtual int getConfigurableAoCount() const noexcept=0
Returns the count of all analog output channels on configurable PIFs.
virtual PifDiConfig getDiConfig(int deviceIndex, int pinIndex)=0
Returns the current configuration of the specified digital input channel.
virtual void setDoValue(int deviceIndex, int pinIndex, bool value)=0
Sets the output value of the specified digital output channel.
virtual PifDoConfig getDoConfig(int deviceIndex, int pinIndex)=0
Returns the current configuration of the specified digital output channel.
virtual int getDiCountPerDevice() const noexcept=0
Returns the count of all digital input channels on a single PIF.
virtual int getDoCountPerDevice() const noexcept=0
Returns the count of all digital output channels on a single PIF.
Main SDK namespace.
Definition DeviceInfo.h:24
PifDeviceType
Represents the supported PIF device types.
Definition PifProperties.h:25
PifAoOutputMode
Represents the available output modes for PIF analog output channels.
Definition PifProperties.h:88