The File stack_script.dat

When you set up a stack (see 2.11.1) you create a file called stack_script.dat, that lists all commands, which sm_script is supposed to work through. The sm_script command structure is the following:

  command[,param1[,param2[,param3[,...]]]]
Available commands and parameters are: The structure of a stack script created by stack_setup.pro (used in SM_GUI) is as follows:

Lines starting with a pound sign (#) are ignored in microscope control. The same goes for lines starting with an exclamation mark (!), but they be followed by instructions to sm_script. Currently the only implemented instruction is !GOTO, which allows you to jump forward to a certain command in the script.
example: !GOTO moveto_ev,535.000
The command has to exactly match the line, that you want to jump to. If the stack was manually interrupted, such lines will be placed directly after the header.

Holger Fleckenstein 2008-07-08