/ MATES / Modular Automatic Test Equipment System API
2.5.0.0
|
Represents a common DAC module. More...
Public Member Functions | |
void | SetDac (int channel, double voltage) |
Set the value of the DAC. Takes calibration data into account. More... | |
void | SetDacRaw (int channel, int val) |
Set raw value of the DAC. More... | |
double | GetDac (int channel) |
Get the value of the DAC. More... | |
double | GetDacMinimum (int channel) |
Get the minimum allowable value of the DAC. More... | |
double | GetDacMaximum (int channel) |
Get the maximum allowable value of the DAC. 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 DAC module.
void SetDac | ( | int | channel, |
double | voltage | ||
) |
Set the value of the DAC. Takes calibration data into account.
channel | The DAC channel number [0,39] |
voltage | The voltage value to set (Volts). |
Example usage (mates_test_03.cs):
Implemented in DacNode.
void SetDacRaw | ( | int | channel, |
int | val | ||
) |
Set raw value of the DAC.
channel | The DAC channel number [0,39]. |
val | The raw DAC binary code to write. |
Example usage (mates_test_04.cs):
Implemented in DacNode.
double GetDac | ( | int | channel | ) |
Get the value of the DAC.
channel | The DAC channel number [0,39] |
Implemented in DacNode.
double GetDacMinimum | ( | int | channel | ) |
double GetDacMaximum | ( | 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.