Class INAFullyStd
Provides functionality for FCT measurement modules using a INA219
Inheritance
System.Object
INAFullyStd
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()
Assembly: ElatecFCT.dll
Syntax
public class INAFullyStd : Measurement
Constructors
View Source
INAFullyStd(II2c, IAD7689)
Initializes a new instance of the Elatec.FCT.Client.Hardware.Module.INAFullyStd using an i2c interface
Declaration
public INAFullyStd(II2c interfaceI2C, IAD7689 interfaceADC)
Parameters
Type |
Name |
Description |
II2c |
interfaceI2C |
|
IAD7689 |
interfaceADC |
|
Fields
View Source
ADC
Declaration
Field Value
View Source
ChannelIN0
Declaration
public static byte ChannelIN0
Field Value
Type |
Description |
System.Byte |
|
View Source
ChannelIN1
Declaration
public static byte ChannelIN1
Field Value
Type |
Description |
System.Byte |
|
View Source
ChannelIN2
Declaration
public static byte ChannelIN2
Field Value
Type |
Description |
System.Byte |
|
View Source
ChannelIN3
Declaration
public static byte ChannelIN3
Field Value
Type |
Description |
System.Byte |
|
View Source
ChannelIN5
Declaration
public static byte ChannelIN5
Field Value
Type |
Description |
System.Byte |
|
View Source
ChannelIN6
Declaration
public static byte ChannelIN6
Field Value
Type |
Description |
System.Byte |
|
View Source
ChannelIN7
Declaration
public static byte ChannelIN7
Field Value
Type |
Description |
System.Byte |
|
View Source
CurrSense
Declaration
Field Value
Methods
View Source
Init()
Declaration
public override void Init()
Overrides
View Source
ReadCurrent(Int16, Int32)
Declaration
public double ReadCurrent(short noOfValues, int waitMS)
Parameters
Type |
Name |
Description |
System.Int16 |
noOfValues |
|
System.Int32 |
waitMS |
|
Returns
Type |
Description |
System.Double |
|
View Source
ReadVoltage(AD7689.Channels, Boolean)
Declaration
public double ReadVoltage(AD7689.Channels channel, bool average)
Parameters
Returns
Type |
Description |
System.Double |
|
View Source
SetReadingModeVoltage(ReadingMode)
ADC reading mode for voltage measurement only
Declaration
public void SetReadingModeVoltage(ReadingMode mode)
Parameters