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

- Returns to mode MEASURE at Init.

parent 3d06fd8b
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
</parent>
<groupId>fr.soleil.lib</groupId>
<artifactId>Electrometers-${aol}-${library}-${mode}</artifactId>
<version>2.5.9</version>
<version>2.5.10</version>
<packaging>nar</packaging>
<name>Electrometers library</name>
<description>Electrometers library</description>
......
......@@ -133,6 +133,8 @@ std::cout << "NovelecProtocol::init_MCCE2_for_communication -> write_read" << st
check_command(tmp);
std::cout << "NovelecProtocol::init_MCCE2_for_communication -> check_command" << std::endl;
//- lock parameters modification
this->switch_MCCE2_ON();
//- if no error
_is_explicite_resp_enabled = true;
}
......@@ -247,8 +249,6 @@ std::string tmp("no data");
//- allow parameters modification
this->switch_MCCE2_OFF();
//- check if the MCCE2 is not in MEASURE mode to get/change any settings
//this->is_allowed();
//- send cmd to have a explicite response :
cmd_to_send << _devAdd << " PROG 1 " << cmdNumber << END_OF_LINE /* << std::endl */;
......@@ -258,7 +258,7 @@ std::string tmp("no data");
check_command(tmp);
//- lock parameters modification
this->switch_MCCE2_OFF();
this->switch_MCCE2_ON();
}
// ============================================================================
......
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