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

MANTIS 20536

parent 456fd2f7
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
#ifndef _WaveForm_data_H
#define _WaveForm_data_H
#include <string>
#include <cstring>
#include "WaveformException.h"
#include <Xstring.h>
......
......@@ -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];
std::strcpy(cmdStr, cmd.c_str());
int length = std::strlen(cmdStr);
std:strcpy(cmdStr, cmd.c_str());
int length = 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.
Finish editing this message first!
Please register or to comment