McIDAS User's Guide
Version 2015.2

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


Defining Loops

Use the F Key Menu System to define a sequence of frames and their dwell rates as a loop, as shown in the example below. Then use a function key to invoke the loop. Use command DR to set the dwell rates; use command LS or LB to define the loop bounds. Have available an F Key Menu containing the internal instruction *Snn for one of the keys. This saves the state of the workstation under the label nn. You can do this for up to 99 loops, although there are only 48 possible combinations of F Keys. To quickly recall the loop, define an F Key with the internal command *Rnn. The only restriction is *R or *S must be the first command on a line.

M 0
U 208 0
T 2 20 7 "McIDAS Loop control
T 4 10 7 "F1-Go to Loop #1
T 6 10 7 "F2-Go to Loop #2
T 8 10 7 "F3-Go to Loop #3
T 20 10 7 "Press 0 on numeric keypad to return to Command Mode
F 1 "*R1;@1
F 2 "*R2;@2
F 3 "*R3;@3
M 1
T 2 20 7 "Current Loop is #1
T 4 10 7 "F1-SAVE current context as Loop #1
T 6 10 7 "F2-Go to Loop #2
T 8 10 7 "F3-Go to Loop #3
T 20 10 7 "Press 0 on numeric keypad to return to Command Mode
F 0 "@1
F 1 "*S1
F 2 "*R2;@2
F 3 "*R3;@3
M 2
T 2 20 7 "Current Loop is #2
T 4 10 7 "F1-Go to Loop #1
T 6 10 7 "F2-SAVE current context as Loop #2
T 8 10 7 "F3-Go to Loop #3
T 20 10 7 "Press 0 on numeric keypad to return to Command Mode
F 0 "@2
F 1 "*R1;@1
F 2 "*S2
F 3 "*R3;@3
M 3
T 2 20 7 "Current Loop is #3
T 4 10 7 "F1-Go to Loop #1
T 6 10 7 "F2-Go to Loop #2
T 8 10 7 "F3-SAVE current context as Loop #3
T 20 10 7 "Press 0 on numeric keypad to return to Command Mode
F 0 "@3
F 1 "*R1;@1
F 2 "*R2;@2
F 3 "*S3

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]