TheDeanLab / navigate

navigate - open source light-sheet microscope controls
https://thedeanlab.github.io/navigate/
Other
32 stars 6 forks source link

Physik Instrumente - Retrieve Units from Controller? #954

Open AdvancedImagingUTSW opened 3 months ago

AdvancedImagingUTSW commented 3 months ago

It would be nice to see if we could retrieve the units from the controller for Physik Instrumente stages. Would need to look at the manual, but the units for the E.709 piezo are by default not microns.

zacsimile commented 1 month ago

The command is PUN? or qPUN in the GCS DLL (https://www.le.infn.it/~chiodini/allow_listing/pi/Manuals/PIGCS_2_0_DLL_SM151E210.pdf). However, it's not available on all PI stages. I think you can assume units are in mm if the stage returns error 2 - unknown command.