04.01.2015 Views

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

CR1000 Manual - Campbell Scientific

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section 8. Operation<br />

c) When prompted, set the archive format to “Gzip”.<br />

d) Select OK.<br />

The resultant file names will be of the type “myProgram.cr1.gz” and<br />

“<strong>CR1000</strong>.Std.25.obj.gz”. Note that the file names end with “.gz”. The ".gz”<br />

extension must be preceded with the original file extension (.cr1, .obj) as shown.<br />

Q: How do I send a compressed file to the <strong>CR1000</strong><br />

A: A Gzip compressed file can be sent to a <strong>CR1000</strong> datalogger by clicking the<br />

Send Program command in the datalogger support software (p. 77). Compressed<br />

programs can also be sent using HTTP PUT to the <strong>CR1000</strong> web server. The<br />

<strong>CR1000</strong> will not automatically decompress and use compressed files sent via File<br />

Control, FTP, or a low-level OS download; however, these files can be manually<br />

decompressed by marking as Run Now using File Control, FileManage(), and<br />

HTTP.<br />

Note Compression has little effect on an encrypted program (see FileEncrypt()<br />

in the CRBasic Editor Help), since the encryption process does not produce a<br />

large number of repeatable byte patterns. Gzip has little effect on files that<br />

already employ compression such as JPEG or MPEG-4.<br />

Table 108. Typical Gzip File Compression Results<br />

File Original Size Bytes Compressed Size Bytes<br />

<strong>CR1000</strong> operating system 1,753,976 671,626<br />

Small program 2,600 1,113<br />

Large program 32,157 7,085<br />

413

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!