Show / Hide Table of Contents

Class AD7689

Provides functionality for AD7689 16 Bit ADC

Inheritance
System.Object
AD7689
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Elatec.FCT.Client.Hardware
Assembly: ElatecFCT.dll
Syntax
public class AD7689

Constructors

View Source

AD7689(IAD7689)

Initializes a new instance of the Elatec.FCT.Client.Hardware.AD7689 using an interface for reading the ADC

Declaration
public AD7689(IAD7689 interfaceADC)
Parameters
Type Name Description
IAD7689 interfaceADC

Fields

View Source

Bits

Declaration
public static readonly uint Bits
Field Value
Type Description
System.UInt32

Properties

View Source

RefVoltage

The internal reference voltage of the ADC

Declaration
public double RefVoltage { get; set; }
Property Value
Type Description
System.Double

Methods

View Source

Read(AD7689.Channels, Boolean)

Read the ADC channels value as double

Declaration
public double Read(AD7689.Channels channel, bool average)
Parameters
Type Name Description
AD7689.Channels channel

The channel to read

System.Boolean average

Should the value b averaged

Returns
Type Description
System.Double

Voltage in V

View Source

SetReadingMode(ReadingMode)

Init the ADC reading mode values

Declaration
public void SetReadingMode(ReadingMode mode)
Parameters
Type Name Description
ReadingMode mode
  • View Source
In This Article
Back to top Generated by DocFX