/ MATES / Modular Automatic Test Equipment System API
2.5.0.0
|
Represents a common ADC module. More...
Public Member Functions | |
double | GetAdc (int channel) |
Get the value of the ADC. More... | |
int | GetAdcRaw (int channel) |
Get the raw value of the ADC. More... | |
int | GetNumChannels () |
Get number of channels of the ADC. More... | |
PhysicalValue | GetRangeMax (int channel) |
Get the maximum value of a channel. More... | |
float | GetRegisterF (RegisterNumber reg) |
Get floating point MATES register. More... | |
int | GetRegisterI (RegisterNumber reg) |
Get regular (integral) MATES register. More... | |
void | SetRegisterI (RegisterNumber reg, int val) |
Set regular (integral) MATES register. More... | |
void | SetRegisterF (RegisterNumber reg, float val) |
Set floating point MATES register. More... | |
Properties | |
Mates | Owner [get] |
The MATES system that this node belongs to. More... | |
NodeId | NodeId [get] |
The MATES system that this node belongs to. More... | |
int | Addr [get] |
The node address. More... | |
Represents a common ADC module.
double GetAdc | ( | int | channel | ) |
Get the value of the ADC.
channel | The ADC channel number [0,39]. |
Example usage (mates_test_01.cs):
int GetAdcRaw | ( | int | channel | ) |
Get the raw value of the ADC.
channel | The ADC channel number [0,39] |
Example usage (mates_test_02.cs):
int GetNumChannels | ( | ) |
PhysicalValue GetRangeMax | ( | int | channel | ) |
|
inherited |
Get floating point MATES register.
reg | The register number to access (see Viresco.Mates.Registers.RegisterNumber). |
|
inherited |
Get regular (integral) MATES register.
reg | The register number to access (see Viresco.Mates.Registers.RegisterNumber). |
|
inherited |
Set regular (integral) MATES register.
reg | The register number to access (see Viresco.Mates.Registers.RegisterNumber). |
val | The register value. |
|
inherited |
Set floating point MATES register.
reg | The register number to access (see Viresco.Mates.Registers.RegisterNumber). |
val | The register value. |
|
getinherited |
The MATES system that this node belongs to.
|
getinherited |
The node address.