beautypg.com

Campbell Scientific ID-2000W Software User Manual

Page 57

background image

SECTION 6. IMPORT/EXPORT

6-3

Here is another sample of the same file but using another ASCII format.

Pressure1

Pressure2

Pressure3

...

psia

psia

psia

...

0.021999

0.047987

0.077953

...

0.032995

0.071957

0.116842

...

0.043988

0.095898

0.155626

...

0.054977

0.1198

0.19427

...

0.06596

0.143655

0.232738

...

And still another format of the same file

“Pressure1” “Pressure2” “Pressure3” ...

“psia”

“psia”

“psia”

...

0.021999

0.047987

0.077953

...

0.032995

0.071957

0.116842

...

0.043988

0.095898

0.155626

...

0.054977

0.1198

0.19427

...

0.06596

0.143655

0.232738

...

As you can see from the above examples there
truly are many different formats that can be
used to store data. Therefore ID-2000 makes
some basic restrictions on the formats that can
be imported.

The data must be in column format. That
means that each line of data must contain
one value for each parameter. The result is
that data for the first channel is the first
number one each line. The second channel
is the second number, and so on.

White space (spaces and tabs) are ignored.
This means you can have any number of
spaces or tabs separating the data.

Each line must end with a carriage return
character followed by a linefeed character.

Each line must contain the same number of
values.

Each line of data must begin with a
numerical value. It can of course have
white space characters since they are
ignored.

Each value on a line must be separated by
a space, tab, and/or comma. Multiple
spaces and tabs may be used between
values although only one comma may be
placed between values.

There are no blank lines.

The parameter names and units for the
data are optional. If they are included they

must be on the line(s) immediately before
the first line of data.

Parameter names and units may be
enclosed in quotation marks.

Parameter names must conform to the ID-
2000 parameter naming restrictions. (Refer
to the Parameter Names section later in this
chapter).

There can be any number of header lines at
the beginning of the file provided that none
begin with a numerical value.

All data in the file must be recorded at a
single constant rate.

Some import types may require you to enter
additional information in order to complete the
import procedure. The “Enter File Information”
dialog box allows you to specify the starting
date/time and recording rate as well as edit the
names and units used for the imported
parameters.

Depending upon what information could be
determined from the import file, some of the
items in the “Enter File Information” dialog box
may disabled.

Most of the time you only need to enter
additional information when importing an ASCII
file or other imports that are missing necessary
information such as the recording date/time,
recording rate, or parameter name information.