Changeset 13138 for trunk/FACT++/src/feedback.cc
- Timestamp:
- 03/19/12 08:26:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/feedback.cc
r13137 r13138 173 173 if (fCursorCur==0) 174 174 { 175 if (fStatusBias.second==BIAS::kVoltageOn) 176 DimClient::sendCommandNB("BIAS_CONTROL/REQUEST_STATUS", NULL, 0); 175 //DimClient::sendCommandNB("BIAS_CONTROL/REQUEST_STATUS", NULL, 0); 177 176 return; 178 177 } … … 922 921 fBiasOffset = -2; 923 922 fControlType = kTemp; 924 fCursorCur = -10; 923 fCursorCur = -10; 924 fCursorTemp = 0; 925 925 fCursorTemp = 0; 926 926 fCurrentsAvg.assign(416, 0); … … 1028 1028 if (fControlType==kCurrents) 1029 1029 { 1030 /*1031 1030 static Time past; 1032 1031 if (fCurrentRequestInterval>0 && Time()-past>boost::posix_time::milliseconds(fCurrentRequestInterval)) 1033 1032 { 1034 DimClient::sendCommandNB("BIAS_CONTROL/REQUEST_STATUS", NULL, 0); 1033 if (fStatusBias.second!=BIAS::kRamping) 1034 DimClient::sendCommandNB("BIAS_CONTROL/REQUEST_STATUS", NULL, 0); 1035 1035 past = Time(); 1036 } */1036 } 1037 1037 1038 1038 return fOutputEnabled ? kStateCurrentCtrlRunning : kStateCurrentCtrlIdle;
Note:
See TracChangeset
for help on using the changeset viewer.