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

change option string for Acquiris init

parent f5868369
Branches
Tags
No related merge requests found
......@@ -131,7 +131,8 @@ std::cout << "soso -- AcqirisDigitizer::register_hardware () entering - calibrat
else
{
//- initialize with option: NO CALIBRATION
err = ::AcqrsD1_InitWithOptions(const_cast<char*>(rname.c_str()), false, false, "CAL=False", &this->hh_);
std::string no_calib = "CAL=False";
err = ::AcqrsD1_InitWithOptions(const_cast<char*>(rname.c_str()), false, false, const_cast<char*>(no_calib.c_str()), &this->hh_);
}
if (err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment