From eccf99ee9babe9c3ec194d5b1759e11d77545188 Mon Sep 17 00:00:00 2001
From: Xavier Elattaoui <xavier.elattaoui@synchrotron-soleil.fr>
Date: Fri, 27 Feb 2009 16:01:47 +0000
Subject: [PATCH] xavier :  Bug : for DDC devices, the status returned an error
 "Invalid staus string", now fixed.

---
 src/KeithleyDDCProtocol.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/KeithleyDDCProtocol.cpp b/src/KeithleyDDCProtocol.cpp
index a31f583..5f47c99 100644
--- a/src/KeithleyDDCProtocol.cpp
+++ b/src/KeithleyDDCProtocol.cpp
@@ -398,9 +398,6 @@ std::stringstream cmd_to_send;
 std::string argout("no data");
 
 	//- send command : G0X -> show prefix ( = keithley type )
-	cmd_to_send << "G0X" << std::endl;
-	_communication_link->write(cmd_to_send.str());
-
 	cmd_to_send.str("");
 	//- get status word
 	cmd_to_send << "U1X" << std::endl;
@@ -420,9 +417,6 @@ std::stringstream cmd_to_send;
 std::string argout("no data");
 
 	//- send command : G0X -> show prefix ( = keithley type )
-	cmd_to_send << "G0X" << std::endl;
-	_communication_link->write(cmd_to_send.str());
-
 	cmd_to_send.str("");
 	//- get status word
 	cmd_to_send << "U0X" << std::endl;
-- 
GitLab