1 creating and editing powerup.ini – Campbell Scientific CR3000 Micrologger User Manual
Page 349

Section 8. Operation
349
in the file automatically uploading to the CR3000 and running. Powerup.ini
options also allow final-data storage management comparable to the support
software File Control
(p. 456)
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.
Power-up functions include
• Sending programs to the CR3000.
• Optionally setting run attributes of CR3000 program files.
• Sending an OS to the CR3000.
• Formatting memory drives.
• Deleting data files associated with the previously running program.
Note Back in the old days of volatile RAM, life was frustrating, but simple. Lost
power meant lost programs, variables, and data – a clean slate. The advent of non-
volatile memory has saved a lot of frustration in the field, but it requires thought
in some applications. For instance, if the CR3000 loses power, do you want it to
power back up with the same program, or another one? with variables intact or
erased? with data intact or erased?
The powerup.ini file enables the power-up function. The powerup.ini file resides
on an external drive. It contains a list of one or more command lines. At power-
up, the CR3000 searches for a powerup.ini file on a drive and executes the
command line(s) prior to compiling a program. Powerup.ini performs three
operations:
1. Copies the specified program file to a specified memory drive.
2. Optionally sets a file run attribute (run now, run on power up, or run always)
for the program file.
3. Optionally deletes data files stored from the overwritten (just previous)
program.
4. Formats a specified drive.
A powerup.ini file takes precedence during power-up. Although it sets file
attributes for the programs it uploads, its presence on a drive does not allow those
file attributes to control the power-up process. To avoid confusion, either remove
the external drive on which the powerup.ini file resides or delete the file after the
powerup.ini operation is complete.
8.3.4.3.1 Creating and Editing Powerup.ini
A powerup.ini file is created with a text editor on a PC, then saved as
"powerup.ini" on a memory drive of the CR3000. The file is saved to the memory
drive, along with the operating system or user program file, using the datalogger
support software File Control Send
(p. 456)
command.
Note Some text editors (such as MicroSoft
®
WordPad
®
) will attach header
information to the powerup.ini file causing it to abort. Check the text of a