Skip to content

Commit

Permalink
Fix Scientifica device adapter- Motion 2 device Y moves moving incorr…
Browse files Browse the repository at this point in the history
…ect distance

Fix bug where using the Scientifica device adapter with Motion 2 racks, Y axis moves would move 10 times less than they should.
  • Loading branch information
MatthewPlayer committed Jun 17, 2024
1 parent ceb311c commit a281ac6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DeviceAdapters/Scientifica/Scientifica.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ int XYStage::Initialize()
if (baud == 9600)
{
stepSizeXUm_ = 0.1;
stepSizeYUm_ = 0.1;
// Step size
pAct = new CPropertyAction(this, &XYStage::OnStepSizeX);
CreateProperty("StepSizeX_um", "0.1", MM::Float, true, pAct);
Expand All @@ -151,6 +152,7 @@ int XYStage::Initialize()
else
{
stepSizeXUm_ = 0.01;
stepSizeYUm_ = 0.01;
// Step size
pAct = new CPropertyAction(this, &XYStage::OnStepSizeX);
CreateProperty("StepSizeX_um", "0.01", MM::Float, true, pAct);
Expand Down

0 comments on commit a281ac6

Please sign in to comment.