Data file format options, 1 d – printable ascii data with ids – Campbell Scientific CSM1 Card Storage Module User Manual

Page 42

Advertising
background image

CSMCOM

6

CSMCOM assumes a .DLD suffix for program files and a .DAT suffix for data
files, unless you enter an alternative suffix or specify no suffix by terminating
the filename with a '.'

For options where only one file can be read from, or stored in the card, e.g. the
name of a program to be stored in the card, CSMCOM asks you for a specific
filename, where the prefix can be up to eight characters long.

Where the option can generate several files on disk, e.g. options A or P,
CSMCOM asks for a 'root' filename. You should enter a name that has six
characters or less. CSMCOM then appends a number to the name, which is
incremented with each file collected. Where the filename is six characters long
the numbers 01 to 99 are appended to the name. Shorter names have a three-
digit number appended, i.e. 001..999.

When you first specify the root filename, CSMCOM scans the disk for files
with the same root name. If none are found, CSMCOM starts numbering the
files at 1, e.g. ROOT001.DAT. If files with the same root name exist, new files
are numbered sequentially starting with the first number that does not exist on
the disk, e.g. if ROOT001.DAT and ROOT002.DAT already exist, the first
new file will be called ROOT003.DAT.

If you specify a file that already exists on disk you are asked if you wish to
overwrite the file. If you reply 'No', the option aborts and returns to the option
menu.

5. Data File Format Options

Once you have specified a filename for a data collection option you are asked
which format you want to use for storing the data on disk. The following
message is shown:

File Formats:

D

-- Printable ASCII arrays with IDs

C

-- Comma delineated ASCII arrays

A

-- As stored (8 bit data)

Esc -- Escape

Format:

5.1 D – Printable ASCII Data with IDs

This is the format that is most readable when printed. Each data value is
preceded by an identifier (see example in section 4 of PC208 manual). This
format occupies the most disk space on the computer, and can be difficult to
read into some other analysis packages. The format is ambiguous for arrays of
100 or more points; it is therefore not recommended for purposes other than
printing.

Advertising