Skip to content
Snippets Groups Projects
Commit 456fd2f7 authored by BUTEAU's avatar BUTEAU
Browse files

MANTIS 20536

parent a780413e
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
</parent>
<groupId>fr.soleil.device</groupId>
<artifactId>AcquireWaveformLecroy-${aol}-${mode}</artifactId>
<version>1.1.9</version>
<version>1.1.10-SNAPSHOT</version>
<packaging>nar</packaging>
<name>AcquireWaveformLecroy</name>
<description>AcquireWaveformLecroy device</description>
......
......@@ -98,8 +98,8 @@ short OFFSET_STRUCT = 0;
//- prepare the cmd to get the waveform data
cmd = ch_name + ":WF? ALL";
cmdStr = new char[cmd.size()+1];
strcpy(cmdStr, cmd.c_str());
int length = strlen(cmdStr);
std::strcpy(cmdStr, cmd.c_str());
int length = std::strlen(cmdStr);
//- send the request
SocketLecroy::get_instance( )->TCP_WriteDevice(cmdStr,length,true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment