Index

close directory

Close the current archive or log file.

Mandatory Arguments:
ArcFile file
The type of file to close (archive or log).

Examples:
The following example opens a new archive file, waits for 5 minutes, then closes it.
  open archive
  until $elapsed > 5m
  close archive

Context:
When observing, data will be archived data to disk indefinitely, but during engineering tests it may be pointless to fill up the disk with unwanted data, particularly if unusually high sampling rates are being used, so it is useful to be able to turn off archiving. Similarly, if one wants to copy an archive file to another directory for processing it may be desireable to close it first so that a complete file is copied.


Martin Shepherd (12-Oct-1998)