Changeset 11973 for trunk/FACT++/src
- Timestamp:
- 09/05/11 21:43:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r11965 r11973 806 806 if (fVoltRef[ch]+dac[ch]>kMaxDac) 807 807 { 808 Error("AddDac - New voltage reference out of range."); 808 ostringstream msg; 809 msg << "AddDac - New voltage reference of " << fVoltRef[ch]*90./4096 << "V + " << dac[ch]*90./4096. << "V for channel " << ch << " out of range."; 810 Error(msg); 809 811 return false; 810 812 } … … 914 916 if (fVoltGapd[ch]+dac>kMaxDac) 915 917 { 916 Error("SetGapdVoltage - New voltage reference out of range."); 918 ostringstream msg; 919 msg << "SetGapdVoltage - New voltage reference of " << fVoltGapd[ch] << "V + " << dac << "V for channel " << ch << " out of range."; 920 Error(msg); 917 921 return false; 918 922 }
Note:
See TracChangeset
for help on using the changeset viewer.