Command Line Shortcuts


Align

Syntax

align [mark definition]

Description

Automates the process of locating, verifying, and writing down the coordinates of the three global marks needed to run an aligned write job. The script will prompt for the mark definition to use (or you can provide it in the command line) and then ask for the microscope coordinates of your first mark (measured from the Faraday cup). It will drive to the mark, turn on CSEM so you can center it, verify that it can see the mark with findmark, and store the updated coordinates in a system variable. It will then repeat the process for the other two global marks.

Once the script is finished, the final coordinates of all three marks will be stored in the marks environment variable. When you run your job, just reference the variable instead of typing the three mark coordinates in the command line:

job myjob.job 3 0 $marks

Examples

align Run auto-align routine, prompt for mark definition
align rp10 Run auto-align routine using the rp10 mark definition


Load

Syntax

load <cassette slot> [holder ID]

Description

Automates the process of loading a holder, selecting it, checking the calibration mark, and measuring the current (the load checklist posted on the operator desk) into a single command. The first (non-optional) argument is the cassette slot (1 for top, 2 for bottom) to load from, and the second argument is the holder ID. If you don't know the holder ID, leave the second argument blank to select it from a list.

Note that the end result of this command (assuming it doesn't error out) is that the beam is positioned on the Faraday cup, ready for a relative move to your write site or alignment marks.

Examples

load 1 3 Load holder 3 from cassette slot 1
load 2 Load from cassette slot 2; prompt for holder ID


Unload

Syntax

unload <cassette slot>

Description

Automates the system-unload checklist by unloading the holder to the given cassette slot, setting the beam current to 1 nA, and reading the column parameters for the run sheet.

Examples

unload 2 Unload holder to cassette slot 2


Writejob

Syntax

writejob <jobfile.job> [options] [holder ID] [x1,y1] [x2,y2] [x3,y3] [x4,y4]

Description

Improved job-execution command, analogous to job but more flexible. The only necessary parameter is the job filename; everything else can be left blank. If no holder ID is listed, the system uses the last one selected with the pg select holder (or load) command. If no coordinates are given, the system assumes a non-aligned write with the center coordinate at the stage's current location, so if you've done a relative move from the Faraday cup to your write center you don't have to enter your coordinates again. Cassette position is always assumed to be 0 (meaning the holder is already in the chamber) so there's no need to enter it.

As in the job command, coordinates are assumed to be in absolute stage coordinates. You can change the reference point with options though; use -f for the Faraday cup, -m for the calibration mark, or -c for the stage center.

Arguments can be in any order after the job filename. Coordinates are specified the same way as the job command, as pairs of integer microns with a comma (no spaces!) between them, e.g. 34822,58431.

Examples

writejob myjob.job Write myjob.job using the currently-selected holder, centered at the current stage position
writejob myjob.job 3 Write myjob.job using holder 3, centered at the current stage position
writejob myjob.job 45323,87311 Write myjob.job using the currently-selected holder, centered at 45323,87311
writejob myjob.job 2 45323,87311 45134,45219 23478,78121 Write myjob.job using holder 2, as an aligned write with global marks at the given coordinates