Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: F Key Menu System Pseudocommands Next: F Key Menu System Sample Menu File Index

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


Table of contents Previous: F Key Menu System Pseudocommands Next: F Key Menu System Sample Menu File Index
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690