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: Loop Control System - Changing the Dwell Rate Next: Loop Control System - Adding Image Frames

4.3 Loop Control System - Changing the Loop Sequence

In this exercise, you will change the loop sequence with the LB and LS commands.

  1. Change the loop bounds to be from frames 1 through 6.

    Type: LB 1 6

    Notice that the loop bounds on the status line changes to 1-6 and frame 1 is displayed.

  2. Start and stop the loop.

    Press: Alt L
    Press: Alt L

  3. Define a loop with random sequencing.

    Type: LS 1 3 2

    The primary loop is frames 1, 3 and 2, and the opposite loop is frames 4, 6, and 5. Notice that the status display at the bottom of the text and command window changes to indicate that the loop is random.

      IMA GRA Bounds Switches                          Date        Time   T  
        1   1 random                              23 Oct 2000297 19:02:35 0  
    

  4. Set the opposite loop to display a random sequence.

    Type: LS O 6 5 4

  5. Check the current loop settings.

    Type: LS

    The primary loop is frames 1, 3, and 2, and the opposite loop is frames 6, 5, and 4. The dwell rate for both loops is nine units for the first frame and six units for the remaining frames.

  6. Loop the primary sequence, the loop set in step 3.

    Press: Alt L

    Notice the frames loop from frame 1 to 3 to 2.

  7. Toggle to the opposite loop sequence.

    Press: Alt O

  8. Toggle back to the primary loop sequence.

    Press: Alt O

  9. Stop looping.

    Press: Alt L


Table of contents Previous: Loop Control System - Changing the Dwell Rate Next: Loop Control System - Adding Image Frames

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community 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