Class EL1262
Represents an EL1262 terminal with two digital 24V oversampling inputs.
public class EL1262 : WCStateTerminalBase, INotifyPropertyChanged, ITerminal, IHasWCState
- Inheritance
-
EL1262
- Implements
- Inherited Members
Remarks
The setting 'DC/Oversampling' -> 'Operation Mode' must be set to '2 Channels (Bytes)'.
Constructors
EL1262(ushort, double)
Initializes a new instance of the EL1262 class.
public EL1262(ushort samplesCount, double sampleCycleTimeInMicroSeconds)
Parameters
samplesCountushortCount of the oversampling samples (Oversampling Factor).
sampleCycleTimeInMicroSecondsdoubleTime between two samples in microseconds (Sample Cycle Time).
Remarks
The parameters can be found in the TwinCAT project on the terminal configuration
'DC/Oversampling' -> 'Oversampling Factor' for samplesCount and 'Sample Cycle Time (μs)' for sampleCycleTimeInMicroSeconds.
Exceptions
- ArgumentOutOfRangeException
Thrown when
samplesCountorsampleCycleTimeInMicroSecondsis 0 (zero) or less.
Properties
Inputs
Gets the inputs.
public IReadOnlyList<DigitalOversamplingInput> Inputs { get; }
Property Value
Modules
Gets the ILisrtModules from the terminal, for example input channels.
public override IEnumerable<ILisrtModule> Modules { get; }