Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

Home | Scripts | Examples | Functions | Recent Updates | Tutorials | Resources | Publications | Consulting | Projects | Contact & Bio |PyJEM| Search

 

JEOL HAADF Camera Length
Function

Script to set a short STEM camera length for HAADF on older JEOL (serial communication) TEMs such as the 2000, 3000, 2010, 3010 etc (without FasTEM).

Version

version:20140531, v1.0

Author
D. R. G. Mitchell
Acknowledgements

-

Comments

Detailed comments on setting up camera lengths and scripts for STEM HAADF are included at the start of the script.

System Requirements
Tested on a JEOL 2010 LaB6, running GMS 2.3 under Windows 7. It should be compatible with all serially controlled JEOL instruments, provided DigitalMicrograph has been configured to source the magnification from the TEM automatically - ie the serial interface is installed and working.
Known Issues
This script will NOT work with newer JEOL instruments which use ethernet communication, such as the 1400, 2100, 2200, ARM etc. In fact it would be redundant on such systems as the STEM camera length can be easily controlled from within the JEOL interface. If FasTEM is installed on your microscope, then this script will not work. However, FasTEM should have the ability to set up custom camera lengths - so again this script would be redundant. The serial interface was not a standard item on some instruments - so even if you have a compatible microscope model, you may not have the microscope hardware to allow you need. If your camera does not source magnification automatically, then you may be out of luck. In order for an external computer to talk to the microscope, the microscope must be in external control mode (type EXT_1, then hit return on the microscope keyboard in the drawer). The microscope wakes up from a fresh restart in EXT_0 mode - so type EXT_1 after every restart (note _ is a space).
Supported
Yes- but please be aware solving hardware-related issues is very difficult unless I have access to the same equipment.
Included Files
Script file.
Source Code

See attached script