Berkeley Nuclear Data Software
|
#include <ADAM6024Interface.h>
Public Member Functions | |
ADAM6024Interface () | |
int | connect () |
uses the internal settings to connect to the device More... | |
float | getVoltage (int a_ch) |
returns the analog voltage of an ADC channel More... | |
void | setVoltage (int a_ch, float a_voltage) |
sets the voltage of a given DAC More... | |
this class implements basic functionality for reading and setting voltages from the analog IO on the adam 6024 using the upd ascii protocol see page 122 of the adam 6000 user manual
ADAM6024Interface::ADAM6024Interface | ( | ) |
default constructors sets up the internal class member variables appropriately for the one device the group currently has
int ADAM6024Interface::connect | ( | ) |
uses the internal settings to connect to the device
float ADAM6024Interface::getVoltage | ( | int | a_ch | ) |
returns the analog voltage of an ADC channel
void ADAM6024Interface::setVoltage | ( | int | a_ch, |
float | a_voltage | ||
) |
sets the voltage of a given DAC