At the shell prompt, enter idlde

Similar documents
Eclipse Quick Reference Windows Hosted

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

Module 3: Working with C/C++

Laboratory Assignment #4 Debugging in Eclipse CDT 1

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912)

WPS Workbench. user guide. "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs"

Infor LN Studio Application Development Guide

Creating a new CDC policy using the Database Administration Console

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Adobe ColdFusion Documentation. September 2014

Figure 1. Simplicity Studio

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

WPS Workbench. user guide. To help guide you through using WPS Workbench to create, edit and run programs. Workbench user guide Version 3.

CodeWarrior Development Studio for Power Architecture Processors FAQ Guide

Version: Copyright World Programming Limited

IBM ILOG OPL IDE Reference

CodeWarrior Development Studio for Advanced Packet Processing FAQ Guide

Getting Started (1.8.7) 9/2/2009

Introduction to Word 2010

Drools Tools Reference Guide. Version: CR1

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs

3 TUTORIAL. In This Chapter. Figure 1-0. Table 1-0. Listing 1-0.

ARM DS-5. Eclipse for DS-5 User Guide. Version 5. Copyright ARM. All rights reserved. ARM DUI0480Q

Beyond 20/20. Browser - English. Version 7.0, SP3

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

Acrobat X Professional

ARM DS-5. Eclipse for DS-5 User Guide. Version 5. Copyright ARM Limited or its affiliates. All rights reserved.

AutoCAD 2009 User InterfaceChapter1:

Supplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang

Supplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

[ Getting Started with Analyzer, Interactive Reports, and Dashboards ] ]

GETTING STARTED WITH ECLIPSE Caitrin Armstrong

Working with Mailbox Manager

Start Menu Log off Turn Off Computer Run Search Help and Support

Module 4: Working with MPI

The Road to CCSv4. Status Update

Impress Guide Chapter 11 Setting Up and Customizing Impress

NEW CEIBO DEBUGGER. Menus and Commands

Getting Started. Microsoft QUICK Source 7

Assignment 1. Application Development

Wind River Workbench (VxWorks Version) User's Guide, 3.0. Wind River Workbench USER S GUIDE 3.0. VxWorks Version

In this lab, you will build and execute a simple message flow. A message flow is like a program but is developed using a visual paradigm.

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse

LookoutDirect Basics: Windows, Tools, Files, and Path Names

Code::Blocks Student Manual

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Migration from HEW to e 2 studio Development Tools > IDEs

CA Gen. Diagram Trace Utility User Guide. Release 8.5

Resource 2 Embedded computer and development environment

Prerequisites for Eclipse

Excel Select a template category in the Office.com Templates section. 5. Click the Download button.

Rapid SQL Developer Debugger 2.0 User Guide

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations

Work Smart: Microsoft Office 2010 User Interface

Index. Symbols. /**, symbol, 73 >> symbol, 21

Nios II Studio Help System

The Basics of Visual Studio Code

Introduction to IBM Rational HATS For IBM System i (5250)

ActiveBPEL Fundamentals

User Guide Zend Studio for Eclipse V6.1

CS-Studio Display Builder

BASICS OF THE RENESAS SYNERGY PLATFORM

A QUICK OVERVIEW OF THE OMNeT++ IDE

CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS

Getting Started with the TASKING VX-toolset for ARM

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS

CodeWarrior Development Studio for Power Architecture Processors V10.X FAQ Guide

Impress Guide. Chapter 11 Setting Up and Customizing Impress

2 The Stata user interface

FrontPage Help Center. Topic: FrontPage Basics

Your password is: firstpw

TeXnicCenter v1 Beta Frank Van Puyvlde ICT for Research K.U.Leuven

Power Point. Created with the Freeware Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation

Learning More About NetObjects Matrix Builder 1

Designing a Web Page Using MS SharePoint Designer Reference Manual

A Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER?

Technical Strategy and Solutions BASE PROFESSIONAL. V e r s i o n 1. 0 P a g e 1

Lectora Video Editor Information Center

Using Eclipse Europa - A Tutorial

Policy Commander Console Guide - Published February, 2012

Microsoft PowerPoint 2013 Beginning

Getting Started with Web Services

Getting Started with Web Services

CS 201 Software Development Methods Spring Tutorial #1. Eclipse

Lesson 1: Getting Familiar with Microsoft Word 2007 for Windows

Lectora Audio Editor Information Center

Outlook Web App. Getting Started. QUICK Source. Microsoft. in Exchange Server 2010

Rapid SQL Developer Debugger 2.1 User Guide

Navigator Software User s Manual. User Manual. Navigator Software. Monarch Instrument Rev 0.98 May Page 1 of 17

News in RSA-RTE 10.2 updated for sprint Mattias Mohlin, May 2018

Noopur Gupta Eclipse JDT/UI Committer IBM India

In this Tutorial we present tips and trick for the development enviroment eclipse and the extension MyEclipse.

Horizon Launcher Configuration Guide

Anatomy of a Window (Windows 7, Office 2010)

Embarcadero PowerSQL 1.1 Evaluation Guide. Published: July 14, 2008

Enhancing PDF Documents - Adobe Acrobat DC Classroom in a Book (2015)

Embarcadero DB Optimizer 1.5 Evaluation Guide. Published: March 16, 2009

Prototype User Guide Public Release Version 1

Transcription:

IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar with Eclipse, the appearance and behavior of the IDL Workbench will feel familiar. This quick reference card will help you get started using the workbench; for more detailed information on any of the topics covered here, see the IDL help system. Starting the IDL Workbench From the Start menu, select IDL 7.1 IDL Click the IDLWorkbench icon At the shell prompt, enter idlde The IDL Workspace A workspace is a directory that contains one or more IDL projects; projects in turn contain IDL.pro files and other project resources. When you first run IDL, it creates a new workspace directory automatically. By default, it will be named IDLWorkspace and be located in your home directory (usually in the Documents and Settings directory on Windows machines, and in the directory referred to by the $HOME environment variable on Macintosh, Solaris, and Linux machines). You can define multiple workspace directories, but only one can be active during a given IDL Workbench session. By default, IDL prompts you to select a workspace each time the IDL Workbench starts. To avoid the prompting, check Use this as the default on the Workspace Launcher dialog. To change workspace directories once the IDL Workbench is running, select File Switch Workspace. IDL will exit and restart in order to load the new workspace directory.

Rapid Visualization with the Tool Palette The IDL Workbench Visualize perspective is designed to make it easy to create visualizations from IDL variables without the need to write IDL code. By default, the Visualize perspective is selected when you open the IDL Workbench; if it is not visible, simply click on the Visualize icon in the Perspective toolbar in the upper right corner of the workbench. The Visualize perspective includes two workbench views designed to let you create and manage visualizations interactively: the Tool Palette view and the Visualizations view. Quickly Importing and Displaying Data The fastest way to import data from a file of a known type (JPEG, PNG, HDF, and ASCII text are examples of file types IDL knows about) is to select File Open File... and choose the file. For known file types, IDL will automatically open the file and create one or more data variables, placing the new variables in the Variables view. For image file types, the workbench can also automatically display the image in an iimage tool. Creating Visualizations with the Tool Palette To create a new visualization, drag one or more IDL variables from the Variables view to a tool in the Tool Palette view. IDL will create a default itool visualization from the variables you dropped. For greater control over the visualization created when you drop variables, display the Tool Palette Actions by clicking the icon. In the expanded view, you can drop variables onto any of the system or user-created actions to create a new visualization. Managing Visualizations When you create an itool visualization either using the Tool Palette or by executing an itool command at the IDL Command Line a thumbnail view of the itool window appears in the Visualizations view. Bring a visualization window to the front by clicking on the window s icon in the Visualizations view. Close a visualization window by right-clicking on the thumbnail and selecting Close from the popup menu that appears. Click the double X button in the Visualizations view toolbar or right-click in the view window and select Close All to close all visualization windows at once.

IDL Projects The IDL Workbench uses projects to organize and manage your IDL source code files. Each project is a directory that is either a subdirectory of the current workspace directory or that is linked to the workspace. While storing your source code files in a project is not required, files that are located in project directories can take advantage of workbench features such as multi-file search, task markers and bookmarks, and the Outline and Problems views. Creating a New Project To create a new project in your current workspace, select File New IDL Project or click the icon. Note that when you first run IDL, a project named Default is created automatically. You can rename this project by selecting it in the Project Explorer view and selecting File Rename. Creating a Project from an Existing Directory In a linked project, project metadata resides in the workspace, but the actual directory containing the project files is located elsewhere on your file system. To create a linked project, select Create the new project from an existing directory in the New IDL Project dialog and select the existing directory where your source code files are located. Adding Files to a Project You can add files to a project directory in several ways: Select File New IDL Source File or click the toolbar icon. Select File Import... to launch the Import wizard. Select File System from the General folder and choose the files to copy into the selected project. To create a linked file or folder, right-click on the project in the Project Explorer, select New File, or New Folder, and click Advanced. Select Link to file/folder in the file system and select a file or folder. Metadata about the selected file or folder will be added to the project, but the file or folder will not be copied into the project directory.

IDL Editor Features The IDL Workbench editor incorporates numerous features that make it easy to write IDL code. The following are some of the highlights. Content Assist IDL can help you complete routine names. Begin typing the name of a routine or class, then press Ctrl-space to display a list of matching items. Select the item you want and press Return. Commenting Code Hover Help IDL can remind you of the syntax of commands. Simply hover the mouse cursor over a routine name. You can comment and uncomment blocks of code in a single operation. Simply select the lines to be commented (or uncommented) and press Ctrl-; or click the Toggle Comment button on the toolbar. Open Declaration You can open the declaration (the file in which the routine is defined) for a routine written in IDL by pressing the Control key and clicking on the routine name when the name is underlined. The.pro file that defines the routine is opened in a new editor window. (Routines that are internal to IDL or which are defined in a.sav file are not opened.) You can also press Ctrl-F3 to open the declaration for the selected routine. Task Markers and Bookmarks You can annotate your.pro files with task markers and bookmarks. Task markers allow you to leave yourself reminders about tasks to be completed later. Bookmarks provide an easy way to navigate to specific locations in a file. To create either, position the mouse pointer in the gutter at the left edge of the editor window and right-click to display the context menu, then select Task... or Bookmark... to create the mark. You can also create a task by beginning a line in the editor with the characters ;TODO. To view tasks or bookmarks, display the Tasks view or the Bookmarks view. The context menu also allows you to work with breakpoints and folding regions, and to display line numbers and annotations about lines that have changed.

IDL Debugging Features The IDL Workbench provides several ways to inspect your code as it runs. The Debug Perspective Although you can use the workbench debugging features in any perspective, the most common debugging tools and views are collected in the Debug perspective. To switch to the Debug perspective, click the Debug icon on the Perspective toolbar in the upper right corner of the workbench. If IDL halts execution of your code due to a problem or a breakpoint, the workbench asks if you want to switch to the Debug perspective. Whether you choose to switch or not, select Remember my decision on the Confirm Perspective Switch dialog to avoid being prompted each time. Using Breakpoints A breakpoint is a marker in your code that tells IDL to suspend execution when it reaches the marked line. To set or remove a breakpoint, double-click in the grey gutter at the left edgeof the editor window. (You can also select Run Toggle Breakpoint, press Ctrl-Shift-B, or use the context menu to set and remove breakpoints.) The Debug View When IDL encounters a problem or breakpoint that causes it to halt execution of your code, the Debug view is displayed (whether or not you switch to the Debug perspective). Buttons on the Debug view toolbar allow you to step through your code in various ways or resume execution. The step commands are also available on the Run menu, and keyboard shortcuts are visible there as well. Inspecting Variable Values The Variables view shows you the current values of variables in the scope of the routine selected in the Debug view (usually the routine in which IDL has halted execution. You can also inspect variables values by hovering the mouse pointer over the variable name.

Working with Views The IDL Workbench consists of several views, each of which contains a different type of information. The Project Explorer, the Variables view, and the Console view are all examples of views. You can rearrange views within a perspective; the workbench will remember your most recent layout choices. You can also: Maximize a view by double-clicking on its tab. Double-click again to restore the view. Drag a view entirely out of the workbench application window. Create a Fast View by right-clicking on the view s tab and selecting Fast View. A Fast View is normally minimized and appears as an icon on one edge of the workbench window; clicking on the Fast View icon temporarily displays the view. Return all the views to their default positions and sizes by selecting Window Reset Perspective. Perspectives The IDL Workbench groups views into perspectives for different purposes. By default, the IDL Workbench has a Visualize perspective, an IDL perspective, and a Debug perspective. You can create your own perspective by adding and removing views, arranging the views as you prefer, and selecting Window Save Perspective As... Getting Help In addition to the Content Assist and Hover Help features, the IDL Workbench provides several ways to get assistance. Selecting Help Help Contents launches the IDL help viewer, which allows you to browse the entire IDL documentation set in hyperlinked electronic format. Highlighting a term in the command line or IDL editor and pressing F1 (Windows & Macintosh) or Shift-F1 (Linux & Solaris) displays the reference topic for the selected term, if one exists. Typing? followed by a search term at the IDL command line does the same thing. Help content will appear in the Help view (within the Workbench interface) by default; you can specify that it should appear in the help browser instead by opening the Help preference page and specifying that window co text help should open in an infopop. Pressing F1/Shift-F1 displays help for the currently-selected IDL Workbench interface element. Selecting Help Cheat Sheets allows you to choose a short, interactive tutorial. Selecting Help Welcome displays the Welcome screen, which provides links to online resources and longer tutorials. Selecting Help Key Assist or pressing Ctrl-Shift-L displays a list of key bindings for the most common IDL Workbench actions.

Using Tool Palette Actions Once you have imported, created, or modified your data variables in IDL, you can simply drag them to an action in the expanded Tool Palette. Click on an individual tool to show the tool s associated actions, then drag variables to the action that will create the visualization you want. After dropping, you can rearrange variables within the action s parameter fields as well. Different actions accept different combinations of variables, use different keyword options, and create different types of visualizations. You can rearrange tools and actions within the palette, edit existing actions, and create new actions of your own. Overplotting with the Tool Palette You can create multiple visualizations from different variables within the same itool window by using the Tool Palette overplotting feature. To create an overplot, create your first visualization by dragging a variable to an action and clicking the action s button. Next, drag a different variable to the same action, and select OVERPLOT from the action button s pulldown menu. IDL will create a new visualization in the existing itool window. Creating and Sharing Tool Palette Actions The workbench provides a selection of Tool Palette actions to serve as examples for your own custom actions. You can create new actions by selecting Edit Actions from the Tool Palette view menu, and then clicking on the New Action button. Use a system action as a template for your new action by clicking the action's Edit button. Once you have created custom actions, you can share them with your colleagues using the Tool Palette export feature. Select Export... from the Tool Palette view menu, choose the tools and actions you want to export, and save the action definition in a file that you can share with a colleage. Colleagues can import your actions using the Import... item on the Tool Palette view menu.

Command Line View The IDL Command Line view allows you to perform ad hoc analyses, compile and launch applications, and create $MAIN$ (main-level) programs interactively. Preferences Command History View The Command History view records each command you enter at the IDL command line. Double-click on a single command to re-execute it, or select multiple commands and drag them to the Command Line view to re-execute the selected commands. You can also drag commands to an editor window. Select Window Preferences to display the IDL Workbench preference dialog. IDL and the IDL Workbench have numerous preferences, many of which are inherited from the underlying Eclipse workbench. To locate a preference, begin typing text in the filter text box at the top left of the dialog; preference pages containing items that match the text you enter are displayed. Click the? icon at the lower left corner to display help on the preferences on a given preference page. Note that IDL system preferences and other preferences that are unique to IDL are grouped under the IDL heading. www.ittvis.com Copyright 2009 ITT Corporation. IDL is a registered trademark of ITT Corporation. All other marks are the property of their respective owners. All rights reserved.