[Overview][Resource strings][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract class for Analog/Digital Converters
Source position: fpadc.pas line 57
type TADConverter = class(TObject) |
||
protected |
||
function GetCount; virtual; abstract; |
|
Return count of input channels |
function GetMaxValue; virtual; abstract; |
|
Returns maximum value provided by ADC |
function GetMinValue; virtual; |
||
function GetSupportsDifferentialValue; virtual; |
|
Indicator of support for differential measurement |
function GetDifferentialValue(); virtual; |
|
Returns differential value |
function GetValue(); virtual; abstract; |
|
Retrives actual value |
public |
||
property MaxValue: LongInt; [r] |
|
Maximum returned value |
property MinValue: LongInt; [r] |
||
property Count: LongWord; [r] |
|
Count of input channels |
property SupportsDifferentialValue: Boolean; [r] |
|
Indication of differantial measurement capability |
property Value []: LongInt; [r] |
|
Get value for input channel |
property DifferentialValue []: LongInt; [r] |
|
Get differential value from input |
end; |
|
Abstract class for Analog/Digital Converters |
|
| | ||
TObject |
This is an abstract class for Analgo/Digital Converters (ADC). Typically each ADC requires an individual implementation for data access, so create derived classes for each ADC. You must override all abstract methods to enable reading of single pin data. If the chip also supports differential or pseudo differential measurement, you should override DifferentialValue and GetDifferentialValue, also.