diff --git a/src/AmptekHardwareInterface.cpp b/src/AmptekHardwareInterface.cpp index 44c92da50481bf7138d70436550b16415fd441b9..23bbb799dabda34a15eaa4530ce168b9013fe363 100644 --- a/src/AmptekHardwareInterface.cpp +++ b/src/AmptekHardwareInterface.cpp @@ -181,7 +181,7 @@ bool AmptekHardwareInterface::ClearSpectrum(){ * or any other mode that temporarily blockes the MCA. Therefore, accumulation time is larger than the real measurement duration * * @see SetPresetAccumulationTime, SetPresetRealTime, SetPresetCounts - * @param t accumulation time in seconds. Minimum is 0.1. If below zero, the accumulation time is not part of the stop condition during acquisition + * @param t accumulation time in seconds. Minimum is 0.1s. If below or equal zero, the accumulation time is not part of the stop condition during acquisition * @return true on success * @return false on failure */ @@ -202,7 +202,7 @@ bool AmptekHardwareInterface::SetPresetAccumulationTime(double t){ * @brief Set the real time for a measurement. The detector will stop automatically when the duration is reached * * @see SetPresetAccumulationTime, SetPresetRealTime, SetPresetCounts - * @param t real time in seconds. If below zero, the real time is not part of the stop condition during acquisition + * @param t real time in seconds. Minimum is 10ms. If below or equal zero, the real time is not part of the stop condition during acquisition * @return true on success * @return false on failure */ @@ -210,7 +210,7 @@ bool AmptekHardwareInterface::SetPresetRealTime(double t){ std::stringstream cmd_stream; cmd_stream << "PRER="; if (t>0){ - cmd_stream << std::fixed << std::setprecision(1) << t; + cmd_stream << std::fixed << std::setprecision(2) << t; } else{ cmd_stream << "OFF";