beautypg.com

2 user programming, 7 memory and final data storage – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 66

background image

Section 5. System Overview

66 

 

 

5.1.6.2 User Programming

Read More! See sections Programming

(p. 108)

and CRBasic Programming

Instructions

(p. 473),

and CRBasic Editor Help for more programming assistance.

A CRBasic program directs the CR1000 how and when sensors are to be
measured, calculations made, and data stored. A program is created on a PC and
sent to the CR1000. The CR1000 can store a number of programs in memory, but
only one program is active at a given time. Two Campbell Scientific software
applications, Short Cut and CRBasic Editor, are used to create CR1000 programs.

Short Cut creates a datalogger program and wiring diagram in four easy steps.

It supports most sensors sold by Campbell Scientific and is recommended for
creating simple programs to measure sensors and store data.

• Programs generated by Short Cut are easily imported into CRBasic Editor for

additional editing. For complex applications, experienced programmers often
create essential measurement and data storage code with Short Cut, then edit
the code with CRBasic Editor.

Note Once a Short Cut generated program has been edited with CRBasic Editor,
it can no longer be modified with Short Cut.

5.1.7 Memory and Final Data Storage

Read More! See Memory and Final Data Storage

(p. 330).

CR1000 memory is organized as follows. Memory size is posted in the Status
table (see the appendix Status Table and Settings

(p. 527)

).

• OS Flash

o 2 MB

o Operating system (OS)

o Serial number and board rev

o Boot code

o Erased when loading new OS (boot code only erased if changed)

• Serial Flash

o 512 kB

o Device settings

o Write protected

o Non-volatile

o CPU: drive residence

Automatically allocated

FAT file system

Limited write cycles (100,000)

Slow (serial accesses)