Ignore:
Timestamp:
08/06/12 11:53:26 (12 years ago)
Author:
neise
Message:
trying to clean up
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/agilentctrl.cc

    r14299 r14313  
    3434
    3535protected:
     36
     37    virtual void UpdateDim(const vector<float> &)
     38    {
     39    }
    3640
    3741
     
    8286           Out() << kBold << "Received (" << bytes_received << " bytes):" << endl;
    8387
    84 
    8588        if (fDump)
    8689        {
     
    9396        istream is(&fBuffer);
    9497
    95 //        int status=-1;
    9698
    9799        string buffer;
     
    122124        }
    123125
    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);
    140131
    141132        StartRead();
Note: See TracChangeset for help on using the changeset viewer.