Changeset 13137 for trunk/FACT++
- Timestamp:
- 03/18/12 22:59:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/feedback.cc
r13116 r13137 105 105 int64_t fCursorCur; 106 106 uint64_t fCursorAmpl; 107 uint64_t fCursorTemp; 107 108 108 109 Time fBiasLast; … … 204 205 return; 205 206 207 // Trigger calibration 208 if (GetCurrentState()==kStateCalibrating && fCursorTemp==1) 209 { 210 DimClient::sendCommandNB("BIAS_CONTROL/REQUEST_STATUS", NULL, 0); 211 return; 212 } 213 206 214 ostringstream msg; 207 215 msg << setprecision(4) << "Sending new absolute offset (" << diff << "V+" << avg << "V) to biasctrl."; … … 210 218 DimClient::sendCommandNB((char*)"BIAS_CONTROL/SET_GAPD_REFERENCE_OFFSET", 211 219 (void*)&diff, sizeof(float)); 220 221 fCursorTemp++; 212 222 } 213 223 … … 753 763 fCursorAmpl = 0; 754 764 fCursorCur = 0; 765 fCursorTemp = 0; 755 766 756 767 fStartTime = Time(); … … 912 923 fControlType = kTemp; 913 924 fCursorCur = -10; 925 fCursorTemp = 0; 914 926 fCurrentsAvg.assign(416, 0); 915 927 fCurrentsRms.assign(416, 0);
Note:
See TracChangeset
for help on using the changeset viewer.