Show all scripts

Spectrum Offset Wobbler

Category: Microscope & GIF
Description: This script is to use the "Spectrum Offset" function of GIF as a high tension modulator. Users can have a precise control of the modulation amplitute and frequency. Since spectrum offset of IFC is directly connected to microscope high tension control so please be mindful about how much and how fast the wobbler is running. When in doubt, please contact microscope manufacturer first. Various preset limits are built into the scripts and these values are set at very beginning of the script, which can be modified before the script installation. The wobbler amount can be positive (increse current spectrum offset value) or negative (decrease current spectrum offset value). The best way to learn how to use this script is to try it out on a on line system. It is highly recommended that users should use small wobbler amplitute (50 eV) and long interval ( > 1 second) to begin with. This script uses a thread object to perform the "wobbling" of IFC. This thread is then interacted with the user interface object (UIFrame) by a "signal" object. Efforts are made to make sure that all objects are properly "destroyed" when scripts are terminated so there will be no memory leak.
Comments: Under certain condition it is possible to set the amplitude setting (by the UIFrame object) to be out of spectrum offset range. However, it will be trapped by the HT_wobbler script object and won't be passed onto Filter Control.
Script version: 1.0
DM/GMS version: 1.5.1
Hardware: GIF
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download