Section 7. Installation
110
or with comms. There is no restriction on the length of the file. CRBasic
example
Using an "Include File"
(p. 111)
shows a program that expects a file to
control power to a modem.
Consider the the example "include file", CPU:pakbus_broker.dld. The rules used
by the CR800 when it starts are as follows:
1. If the logger is starting from power-up, any file that is marked as the "run on
power-up" program is the "current program". Otherwise, any file that is marked as
"run now" is selected. This behavior has always been present and is not affected
by this setting.
2. If there is a file specified by this setting, it is incorporated into the program
selected above.
3. If there is no current file selected or if the current file cannot be compiled, the
datalogger will run the program given by this setting as the current program.
4. If the program run by this setting cannot be run or if no program is specified,
the datalogger will attempt to run the program named default.cr8 on its CPU:
drive.
5. If there is no default.cr8 file or if that file cannot be compiled, the datalogger
will not run any program.
The CR800 will now allow a
SlowSequence
statement to take the place of the
BeginProg
statement. This feature allows the specified file to act both as an
include file and as the default program.
The formal syntax for this setting follows:
include-setting := device-name ":" file-name "." file-extension.
device-name := "CPU" | "USR"
File-extension := "dld" | "cr8"
FIGURE 35: "Include" File Settings With DevConfig
Summary of Contents for CR800 Series
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 34: ......
Page 54: ......
Page 92: ......
Page 310: ......
Page 446: ...Section 8 Operation 446 8 11 2 Data Display FIGURE 100 CR1000KD Displaying Data ...
Page 448: ...Section 8 Operation 448 FIGURE 102 CR1000KD Real Time Custom ...
Page 449: ...Section 8 Operation 449 8 11 2 3 Final Storage Data FIGURE 103 CR1000KD Final Storage Data ...
Page 450: ...Section 8 Operation 450 8 11 3 Run Stop Program FIGURE 104 CR1000KD Run Stop Program ...
Page 452: ...Section 8 Operation 452 FIGURE 106 CR1000KD File Edit ...
Page 456: ......
Page 462: ......
Page 523: ...Section 11 Glossary 523 FIGURE 116 Relationships of Accuracy Precision and Resolution ...
Page 524: ......
Page 526: ......
Page 556: ......
Page 558: ......
Page 560: ......
Page 597: ......