beautypg.com

Figure 115: real-time tables and graphs – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual

Page 395

background image

Section 8. Operation

395

 

c) When prompted, set the archive format to “Gzip”.

d) Select

OK

.

The resultant file names will be of the type “myProgram.cr8.gz” and
“CR800.Std.25.obj.gz”. Note that the file names end with “.gz”. The ".gz”
extension must be preceded with the original file extension (.cr8, .obj) as shown.

 

Q: How do I send a compressed file to the CR800?

A: A Gzip compressed file can be sent to a CR800 datalogger by clicking the
Send Program command in the datalogger support software

(p. 76).

Compressed

programs can also be sent using HTTP PUT to the CR800 web server. The
CR800 will not automatically decompress and use compressed files sent via File
Control
, FTP, or a low-level OS download; however, these files can be manually
decompressed by marking as Run Now using File Control, FileManage(), and
HTTP.

Note Compression has little effect on an encrypted program (see FileEncrypt()
in the CRBasic Editor Help), since the encryption process does not produce a
large number of repeatable byte patterns. Gzip has little effect on files that
already employ compression such as JPEG or MPEG-4.

Table 104. Typical Gzip File Compression Results

File

Original Size Bytes

Compressed Size Bytes

CR800 operating system

1,753,976

671,626

Small program

2,600

1,113

Large program

32,157

7,085