Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual

Page 329

Advertising
background image

Section 8. Operation

329

 

• File = accompanying operating system or user program file. Name can be up

to 22 characters long.

• Device: the CR800 memory drive to which the accompanying operating

system or user program file is copied (usually CPU:). If left blank or with an
invalid option, default device will be CPU:. Use the same drive designation
as the transporting external device if the preference is to not copy the file.

Table 77. Powerup.ini Commands

Command Description

1

1

Run always, preserve data

2

Run on power-up

5

Format (implemented in OS 26)

6

1

Run now, preserve data

7

Copy file to specified drive with no run
attributes. Use to copy Include

(p. 433)

or

program support files to the CPU: drive
before copying the program file to run.

9

Load OS (File = .obj)

13

Run always, erase data

14

Run now, erase files

1

By using PreserveVariables() instruction in the CRBasic program,

with commands

1

and

6

, data and variables can be preserved.

 

Applications

• Command

1

Copies the specified program to the designated drive and sets

the run attribute of the program to Run Always. Data on a CF card from the
previously running program will be preserved.

• Command

2

Copies the specified program to the designated drive. The

program specified in command 2 will be set to Run Always unless command
6 or 14 is used to set a separate Run Now program.

• Command

5

Formats the designated drive.

• Command

6

Copies the specified program to the designated drive and sets

the run attribute of the program to Run Now. Data on a CF card from the
previously running program will be preserved.

• Command

7

Copies the specified file to the designated drive with no run

attributes.

• Command

13

Copies the specified program to the designated drive and sets

the run attribute of the program to Run Always. Data on a CF card from the
previously running program will be erased.

• Command

14

Copies the specified program to the designated drive and sets

the run attribute to Run Now. Data on a CF card from the previously running
program will be erased.

Advertising