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
Содержание CR1000
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 32: ......
Страница 36: ......
Страница 38: ......
Страница 40: ......
Страница 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Страница 96: ......
Страница 98: ...98 ...
Страница 302: ......
Страница 350: ...Section 8 Operation Figure 91 Pulse Sensor Output Signal Types Figure 92 Switch Closure Pulse Sensor 350 ...
Страница 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Страница 454: ...Section 8 Operation 8 8 1 Data Display Figure 116 Displaying Data with the Keyboard Display 454 ...
Страница 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Страница 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Страница 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Страница 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Страница 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Страница 478: ......
Страница 506: ......
Страница 536: ......
Страница 636: ......
Страница 642: ......
Страница 644: ......
Страница 676: ......
Страница 677: ......