From 7bd6c9e2fde8923bfa4b9d76a7770371a3234765 Mon Sep 17 00:00:00 2001
From: Xavier Elattaoui <xavier.elattaoui@synchrotron-soleil.fr>
Date: Thu, 12 Mar 2009 15:15:11 +0000
Subject: [PATCH] xavier : MEAS? cmd changed. Now READ? is called instead.

---
 src/KeithleySCPIProtocol.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/KeithleySCPIProtocol.cpp b/src/KeithleySCPIProtocol.cpp
index 58f8607..3389d14 100644
--- a/src/KeithleySCPIProtocol.cpp
+++ b/src/KeithleySCPIProtocol.cpp
@@ -345,8 +345,12 @@ std::string KeithleySCPIProtocol::get_value (void)
 std::string cmd_to_send("");
 std::string tmp("");
 
+	////- This command performs a CONFIGURE and a READ?
+	//cmd_to_send = "MEAS?" ;
+	
 	//- This command performs an INIT and then query the updated value
-	cmd_to_send = "MEAS?" ;
+    cmd_to_send = "READ?" ;
+
 	tmp = _communication_link->write_read(cmd_to_send);
 
   //- extract all data
-- 
GitLab