Changeset 10059 for fact/BIASctrl/Crate.h
- Timestamp:
- 11/24/10 12:11:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/BIASctrl/Crate.h
r10052 r10059 10 10 #include <string> 11 11 #include <vector> 12 #include <map> 12 13 13 14 #include "dis.hxx" … … 27 28 DimService *NameService; 28 29 29 std::vector<char> Communicate( unsigned char*, int);30 std::vector<char> Communicate(std::string); 30 31 void ClearVoltageArrays(); 31 32 … … 39 40 int Current[MAX_NUM_BOARDS][NUM_CHANNELS]; 40 41 bool OC[MAX_NUM_BOARDS][NUM_CHANNELS]; 42 bool Present[MAX_NUM_BOARDS][NUM_CHANNELS]; 41 43 bool ResetHit; 42 44 bool WrapOK; … … 44 46 int ErrorCount; 45 47 46 int DAC[MAX_NUM_BOARDS][NUM_CHANNELS]; // Voltage in DAC units48 unsigned int DAC[MAX_NUM_BOARDS][NUM_CHANNELS]; // Voltage in DAC units 47 49 double Volt[MAX_NUM_BOARDS][NUM_CHANNELS]; // Voltage in Volt 48 50 int CurrentOffset[MAX_NUM_BOARDS][NUM_CHANNELS]; // Offset for current measurement … … 50 52 bool InitOK; 51 53 52 int Set All();54 int SetChannels(std::map<unsigned int, unsigned int>); 53 55 int ReadAll(); 54 56 int SystemReset(); 55 int ReadChannel(unsigned int, unsigned int);56 57 int GlobalSet(unsigned int); 57 int ChannelSet(int, int, unsigned int);58 58 bool Synch(); 59 59 bool CurrentCalib(double);
Note:
See TracChangeset
for help on using the changeset viewer.