Berkeley Nuclear Data Software
ADAM6024Interface.h
Go to the documentation of this file.
1 #ifndef _ADAM_6024_INTERFACE_
2 #define _ADAM_6024_INTERFACE_
3 //project includes
4 #include "NIXIPV4SocketClient.h"
5 
6 //c++ includes
7 #include <string>
8 
13 {
14 public:
19  int connect();
21  float getVoltage(int a_ch);
23  void setVoltage(int a_ch, float a_voltage);
24 
25 private:
26 
28  NIXIPV4SocketClient m_sock;
29 
30 };
31 
32 
33 #endif
Definition: ADAM6024Interface.h:13
int connect()
uses the internal settings to connect to the device
Definition: ADAM6024Interface.cpp:13
float getVoltage(int a_ch)
returns the analog voltage of an ADC channel
Definition: ADAM6024Interface.cpp:18
ADAM6024Interface()
Definition: ADAM6024Interface.cpp:5
void setVoltage(int a_ch, float a_voltage)
sets the voltage of a given DAC
Definition: ADAM6024Interface.cpp:43
Definition: NIXIPV4SocketClient.h:24