beautypg.com

1 file attributes, Table 80. cr1000 file attributes – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 342

background image

Section 8. Operation

342 

 

 

Table 79. File-Control Functions

File-Control Functions

Accessed Through

1

Datalogger support software

(p. 77)

Program Send

command

2

Datalogger support software File Control (p. 454) utility

3

Device Configuration Utility (DevConfig)

(p. 92)

software

4

Manual with CF card (CRD: drive) or Campbell Scientific mass-storage media (USB: drive). See

Data Storage

(p. 332)

5

Automatic with CF card (CRD: drive) or Campbell Scientific mass-storage media (USB: drive)

and Powerup.ini. See Power-up

(p. 343)

6

CRBasic instructions (commands). See Data-Table Declarations

(p. 475)

and File Management

(p. 515)

and CRBasic Editor Help.

7

Datalogger support software Retrieve (p. 454) command

 

8.3.4.1 File Attributes

A feature of program files is the file attribute. Table CR1000 File Attributes

(p. 342)

lists available file attributes, their functions, and when attributes are typically
used. For example, a program file sent via the support software Program Send

command, runs a) immediately ("run now"), and b) when power is cycled on the
CR1000 ("run on power-up'). This functionality is invoked because Program
Send

sets two CR1000 file attributes on the program file, i.e., Run Now and Run

on Power-up. When together, Run Now and Run on Power-up are tagged as
Run Always.

Note Activation of the run-on-power-up file can be prevented by holding down
the Del key on the external keyboard / display while the CR1000 is powering up.

Table 80. 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

(p. 454)

1

b) File Control

2

with Run Now & Run on Power-up

selected.
c) CF card (CRD: drive) or Campbell Scientific
mass-storage media (USB: drive) power-up

3

using

commands 1 & 13 (see table Powerup.ini Commands

(p. 345)

).

Run on Power-up

Runs only on
power-up

a) File Control

2

with Run on Power-up checked.

b) CF card (CRD: drive) or Campbell Scientific
mass-storage media (USB: drive) power-up

3

using

command 2 (see table Powerup.ini Commands

(p.

345)

).

Run Now

Runs only when
file sent to CR1000

a) File Control

2

with Run Now checked.

b) CF card (CRD: drive) or Campbell Scientific
mass-storage media (USB: drive) power-up

3

using

commands 6 & 14 (see TABLE. Powerup.ini
Commands

(p. 345)

). However, if CF card (CRD:

drive) or Campbell Scientific mass-storage media
(USB: drive) is left in, program loads again from CF
card (CRD: drive) or Campbell Scientific mass-
storage media (USB: drive).