File Process v3.1

Elina Brobeck

This page documents the Labview VI File Process v3.1 source code. It is built on the current standard v3.0, with the addition that certain history files are moved into the ftp directory daily.

The following image is the panel of the File Process VI. The LEDs light up as each task is completed, so that the user can track the program's process.


The following functions are performed by the VI (in order):

  • Links to the various directories used by the Chicos program are defined and the LEDs are reset to "off".
  • The contents of the directory C:\data are deleted.
  • Files are copied into the FTP directory.

    The files clog, trg, and summry are moved from C:\Program Files\Chicos\data to C:\data and the history files coincbin, trgbin, pulsAbin, and pulsBbin are moved from C:\Program Files\Chicos\history to C:\data. The history files are text files in two-column format from which the previous day's histograms can be reconstructed.

  • Wait 100 ms.
  • The trigger file is gzipped.
  • Wait 100 ms.
  • The unzipped trigger file is deleted.
  • The folder C:\datain is purged.

    This folder is later used to receive the master trigger file.

  • The folder C:\Program Files\Chicos\data is purged.

    Only files more than one week old are deleted.

  • The folder C:\Program Files\Chicos\history is purged.

    Only files more than one week old are deleted.

  • The program exits upon completion.

    Back to Labview Documentation Index