diff --git a/src/KeithleySCPIProtocol.cpp b/src/KeithleySCPIProtocol.cpp index 58f8607dd74ad7496fafcd5b017449503f5c8990..3389d145481af1049853e18de59f00ce72aa6c37 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