Table of Contents
12
7.5.2 Setup Tasks .............................................................................. 123
Operating System (OS) — Details ................................. 123
OS Update with DevConfig Send OS Tab .......... 124
OS Update with File Control .............................. 125
OS Update with Send Program Command .......... 126
OS Update with External Memory and
PowerUp.ini File.............................................. 127
Factory Defaults — Installation ..................................... 128
Saving and Restoring Configurations — Installation .... 128
CRBasic Programming — Details ................................................... 129
7.6.1 Program Structure..................................................................... 129
7.6.2 Writing and Editing Programs .................................................. 132
Short Cut Programming Wizard .................................... 132
CRBasic Editor .............................................................. 132
Inserting Comments into Program ...................... 133
Conserving Program Memory ............................. 134
7.6.3 Programming Syntax ................................................................ 134
Program Statements ....................................................... 134
Multiple Statements on One Line ....................... 135
One Statement on Multiple Lines ....................... 135
Single-Statement Declarations ....................................... 135
Declaring Variables ....................................................... 136
Declaring Data Types ......................................... 137
Dimensioning Numeric Variables ....................... 141
Dimensioning String Variables ........................... 142
Declaring Flag Variables .................................... 142
Using Variable Pointers ................................................. 143
Declaring Arrays ............................................................ 144
Advanced Array Declaration .............................. 145
Declaring Local and Global Variables ........................... 146
Initializing Variables...................................................... 146
Declaring Constants ....................................................... 147
Predefined Constants .......................................... 148
Declaring Aliases and Units........................................... 148
7.6.3.10 Numerical Formats ........................................................ 149
7.6.3.11 Multi-Statement Declarations ........................................ 150
7.6.3.11.1 Declaring Data Tables ......................................... 151
7.6.3.11.2 Declaring Subroutines ......................................... 158
7.6.3.11.3 Declaring Subroutines ......................................... 159
7.6.3.11.4 Declaring Incidental Sequences .......................... 159
7.6.3.12 Execution and Task Priority........................................... 160
7.6.3.12.1 Pipeline Mode ..................................................... 161
7.6.3.12.2 Sequential Mode ................................................. 162
7.6.3.13 Execution Timing .......................................................... 163
7.6.3.13.1 Scan() / NextScan ............................................... 163
7.6.3.13.2 SlowSequence / EndSequence ............................ 164
7.6.3.13.3 SubScan() / NextSubScan ................................... 165
7.6.3.13.4 Scan Priorities in Sequential Mode ..................... 165
7.6.3.14 Programming Instructions .............................................. 167
7.6.3.14.1 Measurement and Data Storage Processing ........ 167
7.6.3.14.2 Argument Types.................................................. 168
7.6.3.14.3 Names in Arguments ........................................... 168
7.6.3.15 Expressions in Arguments ............................................. 169
7.6.3.16 Programming Expression Types .................................... 170
7.6.3.16.1 Floating-Point Arithmetic ................................... 170
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......