Skip to content
Snippets Groups Projects
Commit 93013c55 authored by Alain BUTEAU's avatar Alain BUTEAU
Browse files

JIRA : TANGODEVICE-514

Suppression lecture version car pose probkleme avec le parametre ReadTimeout
parent 8fd0b463
Branches
No related tags found
No related merge requests found
...@@ -375,8 +375,14 @@ namespace GpibPrologix_ns ...@@ -375,8 +375,14 @@ namespace GpibPrologix_ns
error_init_msg = "failed to send <" + s.str () + ">"; error_init_msg = "failed to send <" + s.str () + ">";
sock->send (s.str ()); sock->send (s.str ());
//- NOTE :
//- JIRA TANGO_DEVICE 514
//- Cette commande pose problme au dmarrage, si la valeur de Timeout est infrieure 4000 ms
//- le device ne s'initialise pas correctement !!
//- Mise en commentaire pour le moment.
//- get the version of the prologix gpib-ethernet //- get the version of the prologix gpib-ethernet
INFO_STREAM << "GpibPrologix::GpibPrologix() get prologix version " << endl; /* INFO_STREAM << "GpibPrologix::GpibPrologix() get prologix version " << endl;
s.str (""); s.str ("");
std::string respo (""); std::string respo ("");
std::string dummy (""); std::string dummy ("");
...@@ -387,6 +393,8 @@ namespace GpibPrologix_ns ...@@ -387,6 +393,8 @@ namespace GpibPrologix_ns
sock->send (read_cmd); sock->send (read_cmd);
sock->receive (respo); sock->receive (respo);
this->info = "prologix version : " + respo + "\n"; this->info = "prologix version : " + respo + "\n";
std::cout << "GpibPrologix::GpibPrologix() -> parameters sent in " << t1.elapsed_msec() << endl;
*/
} }
catch (Tango::DevFailed &e) catch (Tango::DevFailed &e)
{ {
...@@ -412,10 +420,8 @@ namespace GpibPrologix_ns ...@@ -412,10 +420,8 @@ namespace GpibPrologix_ns
_GET_TIME(t); _GET_TIME(t);
_TIMESTAMP_TO_DATE(t, start_date); _TIMESTAMP_TO_DATE(t, start_date);
failed_cmds.clear (); failed_cmds.clear ();
this->init_device_done = true; this->init_device_done = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment