beautypg.com

2 data preservation, 3 external memory power-up – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 343

background image

Section 8. Operation

343

 

Table 80. CR1000 File Attributes

Attribute

Function

Attribute for Programs Sent to CR1000 with:

1

Support software program Send

(p. 454)

command. See software Help.

2

Support software File Control

(p. 454).

See software Help & Preserving Data at Program Send

(p.

110).

3

Automatic on power-up of CR1000 with CF card (CRD: drive) or Campbell Scientific mass-

storage media (USB: drive) and Powerup.ini. See Power-up

(p. 343).

 

8.3.4.2 Data Preservation

Associated with file attributes is the option to preserve data in CR1000 memory
when a program is sent. This option applies to data table SRAM, CompactFlash

®

(CF), and support software cache data

(p. 448).

Depending on the application,

retention of data files when a program is downloaded may be desirable. When
sending a program to the CR1000 with the support software Send command, data
are always deleted before the program runs. When the program is sent using
support software File Control Send

(p. 454)

command or CRBasic Editor Compile,

Save and Send

(p. 451)

options to preserve (not erase) or not preserve (erase) data

are presented. The logic in table Data-Preserve Options

summarizes the

disposition of CR1000 data depending on the data preservation option selected.

8.3.4.3 External Memory Power-up

Uploading a CR1000 operating system (OS) file or user-program file in the field
can be challenging, particularly during weather extremes. Heat, cold, snow, rain,
altitude, blowing sand, and distance to hike influence how easily programming
with a laptop or palm PC may be. An alternative is to carry the file to the field on
a light-weight external memory device such as a USB:

or CRD:

drive. The steps

to copy files from the external memory drive to the datalogger are:

1. Place a powerup.ini file on the external memory device along with the OS or

program file to be copied to the datalogger.

2. Connect the external device to the CR1000 and then cycle power to the

datalogger.

This simple process results in the specified file being automatically uploaded to
the CR1000 with optional run attributes, such as Run Now, Run on Power Up,
or Run Always set for individual files. It is also possible to simply copy a file to a
specified drive with no run attributes or to format a memory drive. Powerup.ini
options also allow final data storage management on CF cards comparable to the
datalogger support software

(p. 77)

File Control feature. The CRD: drive has

precedence over the USB: drive.

Including a powerup.ini file with the OS / program file on the external device,
connecting the external device to the CR1000, and then cycling power, will result
in the file automatically uploading to the CR1000 and running. Powerup.ini
options also allow final-data storage management comparable to the support
software File Control

(p. 454)

feature. The CRD: drive has precedence over USB:

drive.

Caution Test Power-up options in the lab before going to the field. Always carry
a laptop or palm PC into difficult- or expensive-to-access places as backup.