
Section 7. Installation
133
modification of the ASCII text file that constitutes the CR3000 application
program. CRBasic Editor is a component of LoggerNet
,
RTDAQ
,
and PC400
datalogger support software
(p. 90).
Fundamental elements of CRBasic include the following:
•
Variables — named packets of CR3000 memory into which are stored
values that normally vary during program execution. Values are typically
the result of measurements and processing. Variables are given an
alphanumeric name and can be dimensioned into arrays of related data.
•
Constants — discrete packets of CR3000 memory into which are stored
specific values that do not vary during program executions. Constants are
given alphanumeric names and assigned values at the beginning
declarations of a CRBasic program.
Note Keywords and predefined constants are reserved for internal
CR3000 use. If a user-programmed variable happens to be a keyword or
predefined constant, a runtime or compile error will occur. To correct the
error, simply change the variable name by adding or deleting one or more
letters, numbers, or the underscore (_) from the variable name, then
recompile and resend the program. CRBasic Editor Help provides a list of
keywords and predefined constants.
•
Common instructions — instructions (called "commands" in BASIC) and
operators used in most BASIC languages, including program control
statements, and logic and mathematical operators.
•
Special instructions — instructions (commands) unique to CRBasic,
including measurement instructions, and processing instructions that
compress many common calculations used in CR3000 dataloggers.
These four elements must be properly placed within the program structure.
7.6.2.2.1 Inserting Comments into Program
Comments are non-executable text placed within the body of a program to
document or clarify program algorithms.
As shown in CRBasic example Inserting Comments
(p. 133),
comments are inserted
into a program by preceding the comment with a single quote ('). Comments can
be entered either as independent lines or following CR3000 code. When the
CR3000 compiler sees a single quote ('), it ignores the rest of the line.
Содержание CR3000 Micrologger
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 6: ......
Страница 30: ......
Страница 34: ......
Страница 36: ......
Страница 96: ......
Страница 200: ...Section 7 Installation 200 FIGURE 42 Running Average Frequency Response FIGURE 43 Running Average Signal Attenuation ...
Страница 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Страница 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Страница 488: ...Section 8 Operation 488 8 11 2 3 Final Storage Data FIGURE 113 Keyboard and Display Final Storage Data ...
Страница 489: ...Section 8 Operation 489 8 11 3 Run Stop Program FIGURE 114 Keyboard and Display Run Stop Program ...
Страница 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Страница 495: ...Section 8 Operation 495 Low power standby whenever possible Low power bus sets bus and modules to low power ...
Страница 496: ......
Страница 502: ......
Страница 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Страница 566: ......
Страница 594: ......
Страница 598: ......
Страница 600: ......
Страница 602: ......
Страница 624: ......
Страница 642: ......
Страница 643: ......