Volta Phase Plate Control Installation Reguirements » History » Version 1
Anchi Cheng, 10/12/2021 12:50 PM
| 1 | 1 | Anchi Cheng | h1. Volta Phase Plate Control Installation Reguirements |
|---|---|---|---|
| 2 | |||
| 3 | h2. Install AutoIt and compile the script |
||
| 4 | |||
| 5 | ** The script you need is NextPhasePlate.au3 |
||
| 6 | |||
| 7 | {{include(Auoit_program_script_compilation)}} |
||
| 8 | |||
| 9 | h2. configure fei.cfg |
||
| 10 | |||
| 11 | Add the full path to your compiled exe file to fei.cfg you use on the microscope computer. |
||
| 12 | <pre> |
||
| 13 | [phase plate] |
||
| 14 | # Location of next phase plate AutoIt executable |
||
| 15 | AUTOIT_PHASE_PLATE_EXE_PATH = C:\Program Files\AutoIt3\NextPhasePlate.exe |
||
| 16 | </pre> |
||
| 17 | |||
| 18 | h2. testing NextPhasePlate.exe |
||
| 19 | |||
| 20 | 1. Testing the script: double click NextPhasePlate.exe while the phase plate TUI displays the next phase plate button. |
||
| 21 | The script assumes specific location relative to its Aperture dialog window. If it is off, you will have to adjust the position in the au3 file. |
||
| 22 | |||
| 23 | You should see the cursor move to the button and the current patch number increment as a result of a successful run. |
||
| 24 | |||
| 25 | h2. testing from python script through pyscope/fei.py |
||
| 26 | |||
| 27 | <pre> |
||
| 28 | from pyscope import fei |
||
| 29 | f = fei.Krios() |
||
| 30 | f.getAutoitPhasePlateExePath() |
||
| 31 | f.nextPhasePlate() |
||
| 32 | </pre> |
||
| 33 | |||
| 34 | h3. Notes: |
||
| 35 | |||
| 36 | * Use your instrument class in the second line if it is not Krios. |
||
| 37 | * The third command should return the location of the NextPhasePlate.exe you entered in fei.cfg |
||
| 38 | * The forth command should results in phase plate patch number increase by one. |