diff --git a/src/AbstractElectrometerClass.cpp b/src/AbstractElectrometerClass.cpp index fd00e50f1db933b4489fb8bc6fa5afe8b4510cf0..44e36c880dc77932b7ce48a3e1a53b0157b3653f 100644 --- a/src/AbstractElectrometerClass.cpp +++ b/src/AbstractElectrometerClass.cpp @@ -11,9 +11,14 @@ // // $Author: xavela $ // -// $Revision: 1.17 $ +// $Revision: 1.18 $ // // $Log: not supported by cvs2svn $ +// Revision 1.17 2009/03/18 10:25:29 xavela +// xavier : +// - Novelec part updated and tested ! +// - +no more compilation warnings +// // Revision 1.16 2009/03/10 10:28:52 xavela // xavier: // range values ordered diff --git a/src/KeithleyDDCProtocol.cpp b/src/KeithleyDDCProtocol.cpp index 43204a0c0fd51ca3f1710ba7e54c9f336485a188..46836e03c8aab9ab66ea5a6eb07367b1ee047afc 100644 --- a/src/KeithleyDDCProtocol.cpp +++ b/src/KeithleyDDCProtocol.cpp @@ -377,9 +377,11 @@ std::string::size_type posEnd; // ============================================================================ void KeithleyDDCProtocol::reset (void) { +std::stringstream cmd_to_send; + //- send command to return to default conditions !! -// cmd_to_send << "*RST" << std::ends; - _communication_link->clear(); + cmd_to_send << "*RST" << std::ends; + _communication_link->write(cmd_to_send.str()); } // ============================================================================