Commit dc9098f0 authored by Hélène Ortiz's avatar Hélène Ortiz

It is no longer correct to do:

diffractometer = (90 - m_Diffractometer->actualPosition());
Value for the diffractometer should be kept as read.
parent 669e6806
......@@ -37,6 +37,30 @@ using namespace boost;
using namespace std;
/* Notes Hélène
wantedHKL change
=> set coeff hkl
=> set hkl mono setpoint
wantedMonochromator change
=> setMaille
=> setChangeMono
=> setHKL offset
Start :
Bouge change mono
Bouge HKL mono
Calcul Wavelength
28 AUG 2018: It is no longer correct to do: diffractometer = (90 - m_Diffractometer->actualPosition());
Value for the diffractometer should be kept as read.
*/
namespace son {
const std::string T13Setting::MONOCHROMATOR_TYPE_PROPERTY = "monochromator";
......@@ -152,7 +176,7 @@ void T13Setting::onReadyForWavelengthChange() {
}
void T13Setting::onDiffractometerPositionChange() {
diffractometer = (90 - m_Diffractometer->actualPosition());
diffractometer = m_Diffractometer->actualPosition();
calculateWavelength();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment