Aperture selection through tem controller » History » Version 1
Anchi Cheng, 04/24/2020 03:19 PM
| 1 | 1 | Anchi Cheng | h1. Aperture selection through tem controller |
|---|---|---|---|
| 2 | |||
| 3 | This feature allows selection of aperture of TFS microscopes with automated apertures. The current implementation uses AutoIt Scripting and reads the configuration from c:\Program Files (x86)\myami\fei.cfg |
||
| 4 | |||
| 5 | h2. Setup |
||
| 6 | |||
| 7 | h3. compile autoit script |
||
| 8 | |||
| 9 | The script is pyscope/autoit/ApertureSelection.au3 |
||
| 10 | Use AutoIt suite to compile it. Either 32 or 64-bit version works as far as I know. |
||
| 11 | |||
| 12 | h3. Setup pyscope fei.cfg |
||
| 13 | |||
| 14 | Copy from pyscope/fei.cfg.template these lines to fei.cfg used on your scope. In standard installation, this should be "c:\Program Files (x86)\myami\fei.cfg" |
||
| 15 | |||
| 16 | Modify these settings according to your scope. |
||
| 17 | |||
| 18 | <pre> |
||
| 19 | [aperture] |
||
| 20 | # Disable control of auto apertures if not working or not available |
||
| 21 | # not all versions of microscope software allows auto aperture control |
||
| 22 | # from scripting level. |
||
| 23 | USE_AUTO_APERTURE = False |
||
| 24 | # AutoIt Automation |
||
| 25 | AUTOIT_APERTURE_SELECTION_EXE_PATH = c:\Users\supervisor\Desktop\Anchi\AutoItScripts\ApertureSelection.exe |
||
| 26 | # Does the Titan column has automated c3 aperture ? This affects the id of the |
||
| 27 | # gui button for AutoIt script. |
||
| 28 | HAS_AUTO_C3 = True |
||
| 29 | # Individual aperture selections. If retractable, add open at the end of the list |
||
| 30 | # Note: can not handle multiple apertures of the same name. |
||
| 31 | CONDENSER_2 = 150, 100, 50, 20 |
||
| 32 | OBJECTIVE = 100, 70, 50, open |
||
| 33 | # Optional selected area aperture control. comment or remove the line to deactivate it. |
||
| 34 | SELECTED_AREA = 200,100, 40, 10, open |
||
| 35 | |||
| 36 | </pre> |