Skip to content
Snippets Groups Projects
Commit 27d93c99 authored by Sonia Minolli's avatar Sonia Minolli
Browse files

Created tag release_1_2_6.

parent 09d0b871
No related branches found
No related merge requests found
......@@ -10,7 +10,7 @@
<groupId>fr.soleil.lib</groupId>
<artifactId>NI660Xsl-${aol}-${library}-${mode}</artifactId>
<version>1.2.5</version>
<version>1.2.6</version>
<packaging>nar</packaging>
<name>NI660Xsl</name>
......
......@@ -295,11 +295,9 @@ throw (ni660Xsl::DAQException)
// ============================================================================
std::string CounterBasedOperation::get_string_error(void)
{
long size = DAQmxGetExtendedErrorInfo(NULL,0);
char* string_err = new char[size];
DAQmxGetExtendedErrorInfo(string_err, size);
std::string s = string_err;
delete [] string_err;
char errBuff[2048] = {'\0'};
DAQmxGetExtendedErrorInfo(errBuff,2048);
std::string s = errBuff;
return s;
}
// ============================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment