Scripting Resources for DigitalMicrograph™ |
Save JEOL Microscope Configuration |
|
Function |
Saves a custom JEOL microscope lens/deflector/stigmator configuration. |
Version |
version:20130528, v3.0 |
Author |
D. R. G. Mitchell |
Acknowledgements |
Based on a script by Colin Trevor |
Comments |
Saves a snapshot of all the lenses and deflector settings of a JEOL TEM (which uses serial communication). This saved file can be uploaded to restore an alignment or to recall a custom free lems configuration. Tested on a JEOL 2011 with a serial communication link with the DM computer. Lens/Def/Stig values are saved and displayed in an image. There are a two companion scripts to accompany this script: 'Restore JEOL Microscope Configuration'. WARNING: This should only be used by system administrators to restore a badly misaligned column. The microscope lens settings get uploaded in free lens mode. Simply turn off Free Lens Control (see below) to undo the change. However, the deflector and stigmator settings uploaded by this script will not get undone when Free Lens mode is deactivated. DO NOT use this script if all you want to do is temporarily upload a custom lens setting. Instead use the 'Upload Lenses to JEOL TEM' script. 'Upload Lenses to JEOL TEM'. This takes the lens settings saved in a file created with 'Save JEOL Microscope Configuration' and uploads them to the microscope. These lens changes are not permanent. After upload the microscope will be in free lens mode. To restore the microscope to its former setting, simply press the Free Lens button to deselect it, or type 'lfcoff' at the JEOL keyboard. |
System Requirements |
Tested on GMS 2.x using RS232 serial communication between the DM computer and the TEM, This script will not work if FasTEM is installed. The JEOL internal microscope computer must be in EXT 1 mode for external control to work. Once this script is installed as a menu item, running the script with SHIFT held down will provide some instructions. This has been updated to be compatible with the JEOL 2011, which used different lens numbers to the 2010. These changes make the script more generic and it should work with any JEOL serial TEMs. If a lens is not used, this script reads it as zero. TEM models on which this may work include 2000FX, 2000EX, 2010, 2010F, 3010, 3000 etc. |
Known Issues |
It takes about 15s to upload the data from the TEM - be patient. Only tested on the 2011 - but it should work with other similar vintage JEOL TEMs. It will not work with the current crop of JEOL TEMs (1400, 2100, 2200, ARM etc) as these use ethernet communication. The hex values of the lenses displayed in the image may differ from those displayed on the TEM screen. This does not matter as these 'offsets' will be removed when the file is loaded back up to the microscope. Why do these offsets exist? It's a JEOL thing. |
Supported |
Yes |
Included Files |
Main script file. |
Source Code |
See the attached script.
|