Download OASIS Module Builder for PBO Lab

Transcript
OASIS User Manual
Numerical Constants may be
of three Types:
Int = Integer Format
Real = Fixed Decimal
Exp = Scientific Exponential
These Types indicate how the
parameter will appear to an
OModule user in the graphic
interface, not the format that
will be used to write the
parameter to the Main Input
File of the OModule (see
Section 7).
Several Units Types, such as
Length, offer "smart unit"
options in addition to standard
(fixed) units. For Length, the
available units include the
smart units choice betalambda (β Lambda) as well as
millimeters (mm), centimeters
(cm), meters (m), kilometers
(km), inches (in), and feet (ft).
While smart units are often
useful to OModule users, it is
recommended that only fixed
units be utilized for default
settings. Otherwise the default
value (associated with the
default units) could depend
upon Global Parameter values.
The Name field will initially be filled with an
automatically generated default value created by the
OASIS Module Builder software that will assure a
unique Name for the parameter. This is similar to the
default names generated for other parameters
throughout the OASIS Module Builder. A newly
generated, unique, default Name will appear whenever
an empty row in the list of defined options (Figure 95)
is selected.
A variety of units choices are available for use with the
Numeric Constant parameters. There are two popup
menus (combo boxes) that are used to define the units
for Numeric Constant parameters (see Figure 95). The
Units Type menu is used to select the type of units
from among the extensive list of unit types available
for use in OModules. Once a Units Type has been
selected for a given Numeric Constant parameter,
several choices are available for assignment to the
numerical default value of that Numeric Constant
parameter. This selection is made using the second
Units popup menu. The specific choices available
depend upon the units type selected. The choices
available for both the Units Type and the Units
selections are the same as those available to Real
formatted parameters of OASIS Comm Pieces and
OASIS Optics Pieces.
The beta-lambda unit (βLambda) is a "smart unit"
available in PBO Lab Modules, including OModules
developed for PBO Lab, to express length parameters
in terms of the wavelength of the Global Parameter
Radiofrequency (RF) times the relativistic velocity
parameter beta = v/c. The beta-lambda unit is useful
for systems which have radiofrequency accelerator
components. Additional smart units are available for
certain other Unit Type selections.
.
132