Campbell CR800 Specifications Page 114

  • Download
  • Add to my manuals
  • Print
  • Page
    / 324
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 113
Section 5. Program Declarations
5-4
' Create the variable array A with 8 elements
Dim A( 8)
The maximum number of array dimensions allowed in a Dim statement is 3. If
a program uses a subscript that is greater than the dimensioned value, a
subscript out of bounds error is recorded.
When variables are initialized, they are set to 0.
Tip Put Dim statements at the beginning of the program.
PipelineMode
The PipelineMode instruction is used to configure the datalogger to perform all
instructions sequentially as they occur in the program.
Syntax
PipelineMode
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.
Public
Dimensions a variable as public and available in the Public table of the CR800.
Syntax
Public(list of [dimensioned] variables that make up the Public Table)
Remarks
More than one Public statement can be made.
Public Declaration Example
Page view 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 323 324

Comments to this Manuals

No comments