Section 7. Installation
the week, such as Monday or Friday. See CRBasic Editor Help topic
Function/EndFunction
7.6.4 Sending CRBasic Programs
The CR800 requires that a CRBasic program file be sent to its memory to direct
measurement, processing, and data storage operations. The program file can
have the extension cr8 or .dld and can be compressed using the GZip algorithm
before sending it to the CR800. Upon receipt of the file, the CR800 automatically
decompresses the file and uses it just as any other program file. See Program and
OS Compression Q and A
(p. 397) for more information..
Options for sending a program include the following:
• Program Send
(p. 510) command in datalogger-support software (p. 86)
• Program send command in Device Configuration Utility (DevConfig
(p.
103))
• Campbell Scientific mass storage device
(p. 571)
A good practice is to always retrieve data from the CR800 before sending a
program; otherwise, data may be lost.
Note See File Management
(p. 416) and the Campbell Scientific mass
storage device documentation available at www.campbellsci.com.
7.6.4.1 Preserving Data at Program Send
You can send CRBasic programs to the CR800 in multiple ways. Depending on
the way you choose, the CR800 keeps or deletes data already stored in memory.
Regardless of the program-upload tool used, if any change occurs to the following
data table structures, data are erased when a new program is sent:
• Data table name(s)
• Data-output interval or offset
• Number of fields per record
• Number of bytes per field
• Field type, size, name, or position
• Number of records in table
The program sending command path options listed in table Program Send Options
That Reset Memory
(p. 171) reset CR800 memory and erase data. To keep data, send
programs using the File Control Send
(p. 498) command in datalogger support
software
(p. 494), or the Compile > Compile, Save, Send command in CRBasic
Editor. Compile > Compile, Save, Send displays the window shown in figure