Specifications

Section 12. Memory and Data Storage
12-8
12.6.1 File Attributes
A feature of program files is the file attribute. TABLE 12.6-2 lists available
file attributes, their functions, and when attributes are typically used. For
example, a program file sent via the Send option in LoggerNet, PC400, or
PC200W, runs a) immediately and b) when power is cycled on the CR1000.
This functionality is invoked because Send sets two CR1000 file attributes on
the program file. These file attributes are “Run Now” and “Run on Power-up,”
together tagged as “Run Always.”
TABLE 12.6-2. CR1000 File Attributes
Attribute
Function
Attribute for Programs Sent to
CR1000 with:
Run Always
(Run on Power-
up + Run Now)
Runs now and
on power-up
a) Send
1
b) LN file control
2
with Run Now &
Run on Power-up checked.
c) CF power-up
3
using commands 1 &
13 (see TABLE 12.6-3).
Run on Power-
up
Runs only on
power-up
a) LN file control
2
with Run on Power-
up checked.
b) CF power-up
3
using command 2 (see
TABLE 12.6-3).
Run Now
Runs only when
file sent to
CR1000
a) LN file control
2
with Run Now
checked.
b) CF power-up
3
using commands 6 &
14 (see TABLE 12.6-3). But, if CF is
left in
, program loads again from CF.
1
LoggerNet, PC400, PC200W Program Send Button. See software Help.
2
LoggerNet | Connect | Datalogger | File Control. See LoggerNet Help &
Section 8.1.
3
Automatic on power-up of CR1000 with CompactFlash(R) and Powerup.ini.
See Section 12.6.2.
Associated with file attributes are options to either erase CF (CompactFlash
®
)
data files or not when the program is sent. Unlike data tables in the CR1000,
CF data is stored as a discrete file. While data tables in the CR1000 are erased
automatically when a program is received, their mirror image data files on the
CF (when present) can be preserved. Depending on the application, retention
of the CF data files may or may not be desirable. When sending a program
with Send, CF data files are always deleted before the program runs. The
pseudo code in FIGURE 12.6-1 summarizes the disposition of CR1000 data
depending on the CF data file option used.