Section 7. Installation
2. Send the file to the CR1000 using tools in the
File Control
menu of
datalogger
support software
(p. 95).
3. Enter the path and name of the file in the
Include File
setting using
DevConfig
or
PakBusGraph
.
Figures
"Include File" Settings with DevConfig
(p. 149)
and
"Include File" settings
with PakBusGraph
(p. 149)
show methods to set required settings with
DevConfig
or
with telecommunications. There is no restriction on the length of the file.
CRBasic example
Using an "Include File" to Control Switched 12 V
(p. 149)
shows
a program that expects a file to control power to a modem; CRBasic example
"Include File" to Control Switched 12 V
(p. 150)
lists the code.
Consider the the example "include file", CPU:pakbus_broker.dld. The rules used
by the CR1000 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.cr1 on its CPU:
drive.
5. If there is no default.cr1 file or if that file cannot be compiled, the datalogger
will not run any program.
The CR1000 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" | "CRD"
File-extension := "dld" | "cr1"
148
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......