Operational Commands

The smallest number of commands are the operational commands, which are the commands that carry out some action. It is easiest to remember these by general functional area, as shown in the tables below. It is also possible to learn some of the operational commands by using the history buffer. When you set up a command from the menu, the command that you execute is placed in the history buffer and can be accessed by clicking on the combo box control at the right hand end of the command line.

 

If you use the history buffer, you should be aware that some menu commands construct intermediate commands that in turn execute the built-in OSLO commands, so that what you find in the history buffer may not be what you are looking for. Also, please note that the contents of the history buffer depend on whether the Cmd_history_aliases (chal) preference is on or off. If it is on, the short forms of commands will be placed in the buffer; if it is off, the long forms will appear.

The following tables list some of the more common commands. More commands are shown in the Program Reference manual, and the Help system contains almost all of the commands that you would want to execute directly (some hidden commands perform special functions, and are usually modular). Command arguments are not shown; you can use the Help argument (?) to learn these, or read the command definition in the Help system.

File and Input-Output commands

Cmd Action
dir List directory
chd Change directory
open Open a file
save Save a file
erase Delete a file
gwo Open a graphics window
twr Reset (clear) the text window
gwr Reset (clear) the graphics window
twp Print the text window
gwp Print the graphics window
prt Print numbers or strings
ewo Open the text edit window
stp Set a preference
exit Quit OSLO

Data display

Cmd Action
rtg Show radius, thickness, glass, and aperture data
spe Show special data
opc Show operating conditions
wav Show wavelengths
cfg Show configuration data
var Show variables
rst Show ray set
ope Show (and compute) operands
drl draw the lens
drr draw user-specified rays
ddr draw default rays

General Analysis

Cmd Action
pxc Paraxial constants
pxt Paraxial ray trace
sei Seidel (third-order) aberrations
fif Fifth-order aberrations
sop Set object point
tra Trace single ray
trf Trace a ray fan
plr Plot ray-intercept curves
plf Plot field curves
pld Plot distortion
spd Compute spot diagram
prs Print spot diagram
pls Plot spot diagram
mtf Modulation transfer function
plm Plot modulation transfer function
psf Point spread function
plp Plot point spread function
red Radial energy distribution
ple Plot radial energy distribution
wvf Wavefront statistics
plw Plot wavefront map

 

Optimization

Cmd Action
ide Interactive design
ite Iterate
opg Generate error function (PRO & SIX only)
auf Autofocus
asa Adaptive Simulated Annealing (SIX only)

Next Page | Chapter Summary | Table of Contents


Copyright © 1997 Sinclair Optics Inc. All rights reserved.
Page last updated 19970601