Class DigitalInputModule
- Namespace
- ComfileTech.Cfnet.Cfheader
- Assembly
- ComfileTech.Cfnet.Cfheader.dll
A digital input module.
public class DigitalInputModule : IIOModule
- Inheritance
-
DigitalInputModule
- Implements
Properties
- Address
The address of this module as configured by its DIP switches.
- Channels
All the channels in this module.
- Header
The CFHEADER module that this module is connected to.
- I2cStatus
The result of the last I²C communication with the module.
- State
A bit array of the state of all channels.
Methods
- AcknowledgeI2cFailure()
Acknowledges an I²C communication failure, sets I2cResult to Success, indicating that the next call to Sync() should attempt I²C communication with this module.
Events
- I2cFailed
Fired when I2cResult changes to a failed state as a result of an I²C communication failure.
- StateChanged
Fired when State changes.