Skip to content
Snippets Groups Projects
Commit a72343e1 authored by ELATTAOUI's avatar ELATTAOUI
Browse files

xavier :

K_485 no config cmd supported.
parent 789d56f2
No related branches found
No related tags found
No related merge requests found
......@@ -398,12 +398,15 @@ std::stringstream cmd_to_send;
std::string argout("no data");
//- send command : G0X -> show prefix ( = keithley type )
this->enable_readingWithPrefix();
cmd_to_send.str("");
//- get status word
cmd_to_send << "U1X" << std::endl;
argout = _communication_link->write_read(cmd_to_send.str());
// std::cout << "\n\nKeithleyDDCProtocol::get_raw_status returns *" << argout << "*" << std::ends;
this->disable_readingWithPrefix();
return argout;
}
......@@ -417,12 +420,15 @@ std::stringstream cmd_to_send;
std::string argout("no data");
//- send command : G0X -> show prefix ( = keithley type )
this->enable_readingWithPrefix();
cmd_to_send.str("");
//- get status word
cmd_to_send << "U0X" << std::endl;
argout = _communication_link->write_read(cmd_to_send.str());
// std::cout << "\n\nKeithleyDDCProtocol::get_DDC_configuration returns *" << argout << "*" << std::ends;
this->disable_readingWithPrefix();
return argout;
}
......
......@@ -149,7 +149,7 @@ std::string Keithley_485::electrometer_status (void)
std::string tmp("");
//- read keithley status from HW
_kstatus = _electrometerProtocol->get_raw_status();
_kstatus = _electrometerProtocol->get_DDC_configuration();
//- build status
try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment