Actions
Aperture selection through tem controller » History » Revision 1
Revision 1/5
| Next »
Anchi Cheng, 04/24/2020 03:19 PM
Aperture selection through tem controller¶
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
Setup¶
compile autoit script¶
The script is pyscope/autoit/ApertureSelection.au3
Use AutoIt suite to compile it. Either 32 or 64-bit version works as far as I know.
Setup pyscope fei.cfg¶
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"
Modify these settings according to your scope.
[aperture] # Disable control of auto apertures if not working or not available # not all versions of microscope software allows auto aperture control # from scripting level. USE_AUTO_APERTURE = False # AutoIt Automation AUTOIT_APERTURE_SELECTION_EXE_PATH = c:\Users\supervisor\Desktop\Anchi\AutoItScripts\ApertureSelection.exe # Does the Titan column has automated c3 aperture ? This affects the id of the # gui button for AutoIt script. HAS_AUTO_C3 = True # Individual aperture selections. If retractable, add open at the end of the list # Note: can not handle multiple apertures of the same name. CONDENSER_2 = 150, 100, 50, 20 OBJECTIVE = 100, 70, 50, open # Optional selected area aperture control. comment or remove the line to deactivate it. SELECTED_AREA = 200,100, 40, 10, open
Updated by Anchi Cheng over 4 years ago · 1 revisions