Section 7. Installation
163
7.6.3.13 Execution Timing
Timing of program execution is regulated by timing instructions listed in the
following table.
Program Timing Instructions
Instructions
General Guidelines
Syntax Form
Scan() / NextScan
Use in most programs.
Begins / ends the main
scan.
BeginProg
Scan()
'.
'.
'.
NextScan
EndProg
SlowSequence /
EndSequence
Use when measurements
or processing must run
at slower frequencies
than that of the main
program.
BeginProg
Scan()
'.
'.
'.
NextScan
SlowSequence
Scan()
'.
'.
'.
NextScan
EndSequence
EndProg
SubScan /
NextSubScan
Use when measurements
or processing must run
at faster frequencies
than that of the main
program.
BeginProg
Scan()
'.
'.
'.
SubScan()
'.
'.
'.
NextSubScan
NextScan
EndProg
7.6.3.13.1
Scan() / NextScan
Simple CR3000 programs are often built entirely within a single Scan() /
NextScan structure, with only variable and data-table declarations outside the
scan. Scan() / NextScan creates an infinite loop; each periodic pass through the
loop is synchronized to the CR3000 clock. Scan() parameters allow modification
of the period in 10 ms increments up to 24 hours. As shown in CRBasic example
BeginProg / Scan() / NextScan / EndProg Syntax
(p. 163),
the CRBasic program
may be relatively short.
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: ......