Specifications
Section 5. Program Declarations
5-6
Public
Dimensions a variable as public and available in the Public table of the
CR3000.
Syntax
Public(list of [dimensioned] variables that make up the Public Table)
Remarks
More than one Public statement can be made.
Public Declaration Example
The example shows the use of the Public declaration.
Dim x( 3 ), y, z( 2, 3, 4 )
Public x, y, z
Public Dim x( 3 ), y, z( 2, 3, 4 ) 'Dim is optional
Public x( 3 ),y, z( 2, 3, 4 )
Public w
PWR
Performs an exponentiation on a variable.
Syntax
PWR (X, Y)
Remarks
The PWR function applies the exponent Y to the base X. The function can be
used in an expression or set equal to a variable (e.g., Result = PWR(X,Y).
SequentialMode
The SequentialMode instruction is used to configure the datalogger to perform
all instructions sequentially as they occur in the program.
Syntax
SequentialMode
Remarks
The datalogger has two processing modes: sequential mode and pipeline mode.
In sequential mode, instructions are executed by the datalogger sequentially as
they occur in the program. In pipeline mode, measurement tasks and
processing tasks are handled separately and executed concurrently.
The default mode of operation is pipeline mode. However, when the
datalogger program is compiled, the datalogger analyzes the program
instructions and automatically switches to sequential mode if the code requires
it. The datalogger can be forced to run in the pipeline or sequential mode by
placing the appropriate instruction at the beginning of the program before the
BeginProg instruction.
See OV2.3 for more description of the Pipeline and Sequential mode.