About Direction of Y-stage in Stage Control Plugin
We developed the device adapter ChuoSeiki_QT to use Micro-Manager with our QT controller.
And recently we figure out a problem in "Stage Control" plugin.
The problem is that the Y-stage direction is incorrect:
- When we click the "up-arrows", the Y-stage moves to the "minus" direction, and it moves to "plus" direction if click the "down-arrows".
I think it should move "plus" with "up-arrows".
X-stage control works fine. (click "right" for "plus" direction, and click "left" for "minus")
The others such as the "stage display" plugin or "multi-D Acq." function works fine.
- We try to solve this problem by changing the sign of y-value in "SetRelativePositionSteps" function. (y = -y)
Then the Y-direction is reversed.
However, the coordinate display on the main dialog become incorrect.
Coordinate displays in "stage display" plugin or in "multi-D Acq." are still correct.
I think that to change the sign of y-value is not a good solution for this case.
So is there any better method to reverse the axis direction in the "Stage control" plugin?
my code for SetRelativePositionSteps:
int ChuoSeikiXYStage::SetRelativePositionSteps(long x, long y)
long re_X = x;
long re_Y = -y;
// in previous I used x,y directly for bellow command
Re: About Direction of Y-stage in Stage Control Plugin
Hi Duong Quang Anh,
On 1/21/19 1:40 AM, Duong Quang Anh wrote:
> We developed the device adapter ChuoSeiki_QT to use Micro-Manager with
> our QT controller.
> And recently we figure out a problem in "Stage Control" plugin.
> The problem is that the Y-stage direction is incorrect: