Specifications
5-1
Section 5. Program Declarations
Alias
Used to assign a second name to a variable.
Syntax
Alias VariableA = AliasName
Remarks
Alias allows assigning a second name to a variable. Within the datalogger
program, either name can be used. Only the alias is available for Public
variables. The alias is also used as the root name for data table fieldnames.
With aliases the program can have the efficiency of arrays for measurement
and processing yet still have individually named measurements.
Alias Declaration Example
The example shows how to use the Alias declaration.
Dim TCTemp(4)
Alias TCTemp(1) = CoolantT
Alias TCTemp(2) = ManifoldT
Alias TCTemp(3) = ExhaustT
Alias TCTemp(4) = CatConvT
AngleDegrees
The AngleDegrees declaration is used to set math functions in the program to
return, or to expect as the source, degrees instead of radians.
Syntax
AngleDegrees
Remarks
The AngleDegrees instruction is placed in the declarations section of the
program, before the code enclosed in the BeginProg/EndProg instructions.
AngleDegrees affects the following instructions that return an angle in radians:
ATN, ATN2, ACOS, ASIN, RectPolar.
Angle Degrees affects the following instructions that expect an angle in
radians as the source: COS, COSH, TAN, TANH, SIN, SINH.
Negative radians will convert to negative degrees.