McIDAS-X Learning Guide
Version 2020

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


Loop Control System - Creating a Loop

In this exercise, you will start a McIDAS session with twenty frames, display six images with the IMGDISP command and loop the frames using Alt L. Then, you will switch to the opposite loop with the Alt O command.
  1. Start a McIDAS session.
    At the Unix prompt:
    Type:  mcidas
    Your session should still be set for twenty frames from the last time you made changes in the Configuration GUI. If not, set it for twenty frames, as described in Getting Started.
  2. Check the loop bounds.
    Press:  Alt F
    The default loop bounds are 1 through 20 as shown. Notice that the loop bounds in the status line is 1-20.
        Video Status for Your Workstation
                                Frame(s)
                                --------
     Number of Available              20
     Current                           1   (Opp = 11 )
     Loop Bounds                    1 to 20 
     Visible (K & W toggle)      Yes/Yes
     Looping (L toggle)               No
     Cursor parameters: Size =   31 /   31         Type = Xhair
             Center position =   10 /   10         Color = RED
     
     Image frames   1 -  20     with imbedded graphics    are  480 BY  640  
    
  3. Display six images using the following IMGDISP commands. IMGDISP is discussed further in the Satellite Imagery lesson.
    Type:  IMGDISP G16C.2 1 STATION=KDCA BAND=8 REPEAT=3
    Type:  IMGDISP G16C.2 4 STATION=KDCA BAND=13 REPEAT=3
  4. Set the loop bounds with the LS command, then loop frames 1 through 3.
    Press:  LS 1-3;LS O 4-6
    Press:  Alt L
    Notice that the status line at the bottom of the Text and Command window changes to show an L under Switches and the Frame number changes as the loop progresses:
     IMA GRA Bounds Switches                          Date        Time   T  
     [2] [2]  1-3       L                        16 Sep 2019259 02:43:31 0  
    
  5. Toggle to the opposite loop.
    Press:  Alt O
    The loop displays frames 4 through 6 and the bounds in the status line changes to 4-6.

  6. Stop the loop.
    Press:  Alt L
    The loop display returns to the first frame in the current loop sequence, in this case, frame 4. Notice that the status line now has a value of 4 in the Frame position and the L is not listed in the switches section.
     IMA GRA Bounds Switches                          Date        Time   T
       4   4  4-6                                16 Sep 2019259 02:44:01 0  
    
  7. Toggle to the primary loop.
    Press:  Alt O
  8. Use the single letter commands A and B to manually step through the current loop. Alt A advances through the frames; Alt B moves backwards through the frames.
    Press:  Alt A
    Press:  Alt B

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