Changeset 14313 for trunk/FACT++/src
- Timestamp:
- 08/06/12 11:53:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/agilentctrl.cc
r14299 r14313 34 34 35 35 protected: 36 37 virtual void UpdateDim(const vector<float> &) 38 { 39 } 36 40 37 41 … … 82 86 Out() << kBold << "Received (" << bytes_received << " bytes):" << endl; 83 87 84 85 88 if (fDump) 86 89 { … … 93 96 istream is(&fBuffer); 94 97 95 // int status=-1;96 98 97 99 string buffer; … … 122 124 } 123 125 124 vector<float> voltages; 125 vector<float> currents; 126 127 128 /* 129 if (fIsVerbose) 130 { 131 for (size_t i=0; i<resist.size(); i++) 132 if (resist[i]>800 && resist[i]<2000) 133 Out() << setw(2) << i << " - " << setw(4) << (int)resist[i] << ": " << setprecision(1) << fixed << GetTempPT1000(resist[i]) << endl; 134 else 135 Out() << setw(2) << i << " - " << setw(4) << (int)resist[i] << ": " << "----" << endl; 136 } 137 */ 138 UpdateVolt(time, voltages); 139 UpdateCur( time, currents); 126 // vector data should have to elements: 127 // * the measured voltage 128 // * the measured current 129 vector<float> data; 130 UpdateDim(data); 140 131 141 132 StartRead();
Note:
See TracChangeset
for help on using the changeset viewer.