-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd1ab8d
commit 2b32b30
Showing
10 changed files
with
86 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# PyStages GUI | ||
|
||
A user interface has been implemented to control the stages. | ||
|
||
You can run it with the following command: | ||
|
||
```bash | ||
python -m pystages.gui | ||
``` | ||
|
||
This tool presents basic controls. After connection to the stage, it polls the position and prints out | ||
at the bottom of the window. | ||
|
||
## Stage selection and connection | ||
|
||
Select the type of stage that you want to control and chose either a serial port to connect to, or select `Auto detect` | ||
to make pystage to select the correct one according to the device description. | ||
|
||
Then click to `Connect`. If the connection success, the control buttons are activated. | ||
|
||
## Relative move | ||
|
||
You can click on buttons to move for a positive of negative relative distance. | ||
The direction correspond to the axis number of the stage (`X` for first axe, `Y` for the second one, | ||
`Z` for the third one). The moving distance is selected throug the `Step` dropdown menu. | ||
|
||
## Absolute move | ||
|
||
You can enter absolute coordinates in the 3 entry boxes and trigger the move by clicking the `Go To Position` button. | ||
|
||
## Z offset | ||
|
||
The `Z offset` checkbox and dropdown menu permit for each horizontal move (X or Y) | ||
to make first a vertical-up displacement (Z+) followed by the | ||
actual move, and then a final vertical-down displacement (Z-). | ||
|
||
## Homing | ||
|
||
The `Home` button permits to trigger the calibration process of the stage. | ||
Be careful that your setup is clear before using it. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ pyusb | |
numpy | ||
sphinx | ||
sphinx-rtd-theme | ||
myst-parser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters