diff --git a/DeviceAdapters/Prior/Prior.cpp b/DeviceAdapters/Prior/Prior.cpp index d39998c19..1df96591e 100644 --- a/DeviceAdapters/Prior/Prior.cpp +++ b/DeviceAdapters/Prior/Prior.cpp @@ -1004,6 +1004,7 @@ int XYStage::SetPositionSteps(long x, long y) if (answer.substr(0,1).compare("R") == 0) { + OnXYStagePositionChanged(x*stepSizeXUm_, y*stepSizeYUm_); return DEVICE_OK; } else if (answer.substr(0, 1).compare("E") == 0 && answer.length() > 2) @@ -1040,6 +1041,7 @@ int XYStage::SetRelativePositionSteps(long x, long y) if (answer.substr(0,1).compare("R") == 0) { + // ?? I guess we have query in order to do this? return DEVICE_OK; } else if (answer.substr(0, 1).compare("E") == 0 && answer.length() > 2) @@ -1745,6 +1747,7 @@ int ZStage::SetPositionSteps(long pos) if (answer.substr(0,1).compare("R") == 0) { curSteps_ = pos; + OnStagePositionChanged(curSteps_*stepSizeUm_); return DEVICE_OK; } else if (answer.substr(0, 1).compare("E") == 0 && answer.length() > 2)