gzip

The CR1000X/CR1000Xe supports the ability to extract the contents of program, operating system, and other files that have been created using gzip. The file name must be in the format: filename.fileextension.gz (for example: TestPgm.CR1X.gz, CR1000X.Std.01.obj.gz, or CR1000X.Std.01.web.obj.gz).

For more information see: www.gzip.org .

Zipping a file can significantly reduce its size, resulting in fewer bytes to transfer when sending a zipped file to a data logger. This is especially beneficial over slow, high-latency, or costly telecommunications links. Therefore, those using low-baud-rate radios, satellite, or restricted cellular data plans should consider gzipping operating systems and large programs before sending.

Compatible files can be created using any utility that supports the gzip file format. Use a file tarball (filename.tar.gz) to compress multiple files. Several free utilities provide zipping to these formats.

Send the zipped file to the CPU:, CRD: or USB: drive using Closeddata logger support software LoggerNet, RTDAQ, and PC400 - these Campbell Scientific software applications include at least the following functions: data logger communications, downloading programs, clock setting, and retrieval of measurement data.. Files sent using Connect > Send Program will be unzipped automatically. However, the data logger will not automatically unzip files that are sent using File Control > Send File. To unzip files sent with File Control, mark them as Run Now.

Unzipping and installing file contents takes a long time; expect several minutes for operating systems and additional time for .web files. The details of unzipping and installing files from a gzip file are as follows:

  1. The data logger receives the gzip file and restarts.

  2. The data logger unzips the .gz file to the same drive to which it was sent.

  3. The .tar portion of the file, if available, is processed.

  4. Operating system (.obj or .iobj files) are programmed to the respective destination.

  5. The data logger restarts.

  6. When an .obj file is involved the OS will be loaded by the boot code resulting in another restart.

  7. Web user interface (.web) files, if available, are installed. This may take over ten minutes.

NOTE:

Compression has little effect on an encrypted program (FileEncrypt() ) and on files that already employ compression such as JPEG or MP4.

TIP:

The data logger also has the ability to compress files using GZip(). See the CRBasic Editor help for detailed instruction information and program examples: https://help.campbellsci.com/crbasic/cr1000x/ .