- Timestamp:
- 10/23/11 17:05:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r12236 r12249 43 43 44 44 vector<uint16_t> fVoltCmd; // Current command voltage in DAC units (12bit = 90V) 45 vector<uint16_t> fVoltGapd;46 45 47 46 vector<bool> fPresent; … … 68 67 vector<uint16_t> fVolt; // Current voltage in DAC units (12bit = 90V) 69 68 vector<uint16_t> fVoltRef; // Current reference voltage in DAC units (12bit = 90V) 69 vector<uint16_t> fVoltGapd; // Nominal G-APD voltages at 25deg C 70 70 71 71 vector<int16_t> fCurrent; // Current in ADC units (12bit = 5mA) … … 79 79 80 80 virtual void UpdateV() 81 { 82 } 83 84 virtual void UpdateVgapd() 81 85 { 82 86 } … … 755 759 fIsVerbose(false), 756 760 fVoltCmd(kNumChannels), 757 fVoltGapd(kNumChannels),758 761 //fRefCurrent(kNumChannels), 759 762 fPresent(kNumBoards), … … 767 770 fVolt(kNumChannels), 768 771 fVoltRef(kNumChannels), 772 fVoltGapd(kNumChannels), 769 773 fCurrent(kNumChannels) 770 774 { … … 1052 1056 for (size_t i=0; i<kNumChannels; i++) 1053 1057 fVoltGapd[i] = volt[i]*4096/90; 1058 1059 UpdateVgapd(); 1054 1060 1055 1061 return true; … … 1414 1420 DimDescribedService fDimCurrent; 1415 1421 DimDescribedService fDimVoltage; 1422 DimDescribedService fDimGapd; 1416 1423 1417 1424 void UpdateA() … … 1428 1435 } 1429 1436 1437 void UpdateVgapd() 1438 { 1439 fDimGapd.Update(fVoltGapd); 1440 } 1430 1441 1431 1442 public: 1432 1443 ConnectionDimBias(ba::io_service& ioservice, MessageImp &imp) : 1433 1444 ConnectionBias(ioservice, imp), 1434 fDimCurrent("BIAS_CONTROL/CURRENT", "S:416", ""), 1435 fDimVoltage("BIAS_CONTROL/VOLTAGE", "S:416;S:416", "") 1445 fDimCurrent("BIAS_CONTROL/CURRENT", "S:416", "|I[uA]:Bias current"), 1446 fDimVoltage("BIAS_CONTROL/VOLTAGE", "S:416;S:416", "|U[V]:Applied bias voltage|Uref[V]:Reference bias voltage"), 1447 fDimGapd( "BIAS_CONTROL/NOMINAL", "S:416", "|U[V]:Nominal G-APD voltage at 25deg C") 1436 1448 { 1437 1449 }
Note:
See TracChangeset
for help on using the changeset viewer.