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

xavier:

sleep added after a write
parent 1431325e
No related branches found
No related tags found
No related merge requests found
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/AcquireWaveformLecroy/src/AcquireWaveformLecroy.cpp,v 1.9 2008-02-28 09:02:05 xavela Exp $";
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/AcquireWaveformLecroy/src/AcquireWaveformLecroy.cpp,v 1.10 2008-02-29 15:00:12 xavela Exp $";
//+=============================================================================
//
// file : AcquireWaveformLecroy.cpp
......@@ -13,9 +13,13 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentatio
//
// $Author: xavela $
//
// $Revision: 1.9 $
// $Revision: 1.10 $
//
// $Log: not supported by cvs2svn $
// Revision 1.9 2008/02/28 09:02:05 xavela
// xavier :
// StateMachine file added !! (oups)
//
// Revision 1.7 2004/10/22 13:24:47 buteau
// Second code reread. Minor modifications
//
......@@ -872,6 +876,7 @@ Tango::DevString AcquireWaveformLecroy::write_read(Tango::DevString argin)
strcpy(_deviceResponse, "No response");
if( cmd_to_send.find('?') != std::string::npos )
{
Sleep(100);
ptr_com->TCP_ReadDevice(_deviceResponse, MAX_RESPONSE_LENGTH, &bytes_received);
}
......
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