EasyManua.ls Logo

Campbell CR800 Series - FIGURE 35: Include File Settings with Devconfig

Campbell CR800 Series
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals