Berkeley Nuclear Data Software
ThermocoupleControl.h
Go to the documentation of this file.
1 
2 #ifndef _THERMOCOUPLE_CONTROL_H_
3 #define _THERMOCOUPLE_CONTROL_H_
4 
5 #include "RS232Interface.h"
6 #include <string>
7 
8 
9 namespace NSDInstControl
10 {
15 {
16  public:
19 
22  int connect(int a_instNum);
23 
25  double thermocoupleTemp(int init);
26 
27 private:
29  int m_portEnum;
31  RS232Interface m_port;
33  bool m_isConnected;
34 
36  double getSingleTempFloat(std::string response);
37 };
38 }
39 
40 #endif
used as a c++ abstraction of the rs232 c functions in the RS232 folder
Definition: RS232Interface.h:13
Definition: ThermocoupleControl.h:15
double thermocoupleTemp(int init)
this will read out the output from the arduino and print out the temperature
Definition: ThermocoupleControl.cpp:39
int connect(int a_instNum)
will connect the thermocouple to the computer
Definition: ThermocoupleControl.cpp:22
ThermocoupleControl()
put the class into a default state ready to pitch parameters
Definition: ThermocoupleControl.cpp:15
CONF:HVMICC? is required before switching high voltage on.
Definition: bk9174BControl.h:9