Table of Contents

Class AnalogInputModule.Channel

Namespace
ComfileTech.Cfnet.Cfheader
Assembly
ComfileTech.Cfnet.Cfheader.dll

An individual channel of a analog input module.

public class AnalogInputModule.Channel : IIOChannel
Inheritance
AnalogInputModule.Channel
Implements

Properties

Address

The channel address uniquely identifying this channel in the module.

Current

The current computed from RawValue in amps.

IsEnabled

True if conversion is enabled for this channel. False if not. If false, this channel will be skipped when the CFHEADER module periodically reads each channel. Set NumberOfConversions to 0 to disable this channel.

Module

The analog input module that this channel belongs to.

NumberOfConversions

The number of conversions to perform before the data is ready. Set to 0 to disable this channel.

RawValue

The raw binary value read from this channel's input.

Voltage

The voltage computed from RawValue.

Events

ConversionCompleted

Occurs each time this ADC channel's analog to digital conversion is completed.

RawValueChanged

Fired when RawValue changes.