![Campbell CR6 Series Operator'S Manual Download Page 219](http://html.mh-extra.com/html/campbell/cr6-series/cr6-series_operators-manual_489096219.webp)
Section 7. Installation
219
Rules for Names
Name
Category
1
Maximum
Length
(number of
characters)
Allowed characters
Variable or array
39
Letters A to Z, a to z, _ (underscore),
and numbers 0 to 9. Names must start
with a letter or underscore. CRBasic
is not case sensitive.
Units are excepted from the above
rules. Since units are strings that ride
along with the data, they are not
subjected to the stringent syntax
checking that is applied to variables,
constants, subroutines, tables, and
other names.
Constant
38
Units
38
Alias
39
Station name
64
Data-table name
20
Field name
39
Field-name
description
64
1
Variables, constants, units, aliases, station names, field names, data table
names, and file names can share identical names; that is, once a name is used,
it is reserved only in that category. See
Predefined Constants
(p. 198)
for another
naming limitation.
7.6.3.15 Expressions in Arguments
Read More
See
Programming Expression Types
(p. 220).
Many CRBasic instruction parameters allow the entry of arguments as
expressions. If an expression is a comparison, it will return
-1
if true and
0
if false.
See
Logical Expressions
(p. 224).
The following code snip shows the use of an
expressions as an argument in the
TrigVar
parameter of the
DataTable()
instruction:
'DataTable(Name, TrigVar, Size)
DataTable
(Temp, TC > 100, 5000)
When the trigger is
TC > 100
, a thermocouple temperature greater than 100 sets
the trigger to
True
and data are stored.
Summary of Contents for CR6 Series
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 76: ...Section 5 Overview 76 FIGURE 20 Half Bridge Wiring Example Wind Vane Potentiometer ...
Page 80: ...Section 5 Overview 80 FIGURE 23 Pulse Input Wiring Example Anemometer ...
Page 136: ......
Page 454: ...Section 8 Operation 454 FIGURE 104 Narrow Sweep High Noise ...
Page 459: ...Section 8 Operation 459 FIGURE 106 Vibrating Wire Sensor Calibration Report ...
Page 535: ...Section 8 Operation 535 8 11 2 Data Display FIGURE 121 CR1000KD Displaying Data ...
Page 537: ...Section 8 Operation 537 FIGURE 123 CR1000KD Real Time Custom ...
Page 538: ...Section 8 Operation 538 8 11 2 3 Final Storage Data FIGURE 124 CR1000KD Final Storage Data ...
Page 539: ...Section 8 Operation 539 8 11 3 Run Stop Program FIGURE 125 CR1000KD Run Stop Program ...
Page 541: ...Section 8 Operation 541 FIGURE 127 CR1000KD File Edit ...
Page 546: ......
Page 552: ......
Page 610: ...Section 11 Glossary 610 FIGURE 137 Relationships of Accuracy Precision and Resolution ...
Page 612: ......
Page 648: ......
Page 650: ......
Page 688: ......
Page 689: ......