diff --git a/lasp/device/lasp_cppdaq.h b/lasp/device/lasp_cppdaq.h index e95bda4..d0bc955 100644 --- a/lasp/device/lasp_cppdaq.h +++ b/lasp/device/lasp_cppdaq.h @@ -131,9 +131,9 @@ class DeviceInfo { operator string() const { std::stringstream str; - str << api.apiname + " " << api_specific_devindex - << " number of input channels: " << ninchannels - << " number of output channels: " << noutchannels; + str << api.apiname + " " << api_specific_devindex << endl + << " number of input channels: " << ninchannels << endl + << " number of output channels: " << noutchannels << endl; return str.str(); } @@ -216,13 +216,8 @@ class DeviceInfo { dtype.is_floating = bool(nexti()); devinfo.availableDataTypes.push_back(dtype); } - devinfo.prefDataTypeIndex = nexti(); - N = us(nexti()); - for(us i=0;i