2 a -- collect all data files, 3 u -- collect uncollected data files, 4 n -- collect newest data file – Campbell Scientific PC208 Datalogger Support Software User Manual

Page 94: 6 p -- collect all program files, 7 d -- store a .dld program file

Advertising
background image

SECTION 7. CSMCOM

7-2

To obtain a summary of valid
telecommunication commands press F1; a
second press of F1 displays a second screen.
To leave the terminal emulator, press the Esc
key.

The terminal emulator option asks the module
for an update of its status after each command.
This ensures the module status window is kept
up to date.

NOTE: On a slow PC, or one running at a
low baud rate, there can be a slight delay
after a command has been actioned. To
avoid confusion wait until the prompt is
returned before typing a new command.

7.3.2 A -- COLLECT ALL DATA FILES

This option collects all valid data files in the
memory card. CSMCOM first asks for a root
filename that is used to name computer data
files (see section 7.4 for details of filename
conventions.) After a valid name is entered,
CSMCOM prompts for the format in which you
wish to write the data on disk (see section 7.5).

Once a valid format has been entered
CSMCOM starts at the beginning of the card
memory and scans through, writing each card
file containing data to a new file on the hard
disk. For each file the message: 'xxxxxx:
writing to file rootnn.dat'
appears, where
xxxxxx is the location of the start of the file.

If CSMCOM finds a file that contains a program,
it jumps over the program and displays 'no data
found in this area'.

This option can be aborted by pressing the Esc
key.

7.3.3 U -- COLLECT UNCOLLECTED DATA

FILES

This option operates in a similar way to the A
option, with the exception that it starts reading
data from the position of the storage module
dump pointer. This pointer is used to mark
where data was last collected from. It is
automatically moved after successful collection
of data by the A or U options of CSMCOM.

Thus the U option can be used to collect any
new data files stored in the card since data was
last read using CSMCOM.

7.3.4 N -- COLLECT NEWEST DATA FILE

This option also works in a similar way to the A
option with the exception that it collects just the
latest file in the card, and the data is written to a
specific file rather than one specified with a root
filename.

7.3.5 L -- COLLECT ONE DATA FILE STARTING

AT A SPECIFIED LOCATION

This option stores data to a specific file, as with
the N option, but CSMCOM first asks for the
starting location of the file. This option is mainly
used for recollecting old data that has already
been collected, or to recover data from a
corrupted card.

The L option performs only a limited check on
the validity of the start location you enter. It is
possible, for example, to request data from any
part of the card, including an empty area. The
start location should point to the first data value
in the file rather than the filemark that precedes
it.

7.3.6 P -- COLLECT ALL PROGRAM FILES

The P option collects all datalogger programs
that have been stored in the card. CSMCOM
first asks for a root collection filename. Enter a
valid name such as 'ROOT'. CSMCOM then
checks which program areas contain programs
and reads the programs out to disk. Programs 1
to 8 are stored in files with the numbers 1 to 8
appended on the end of the prefix of the name.
The suffix is set to .DLD, e.g. for a root name of
ROOT, the files would be named ROOT1.DLD,
ROOT2.DLD and so on.

As the program is being read from the card a '.'
is displayed for every 100 characters read from
the card.

When a program is collected a checksum
verification is done. If no errors occur 'OK' is
displayed; otherwise a warning is shown.
CSMCOM attempts up to three retries if an
error occurs.

7.3.7 D -- STORE A .DLD PROGRAM FILE

This option is used to store a .DLD program file,
as created by EDLOG, into one of the program
areas of the card. CSMCOM first displays the
current status of the program areas in the card
to show you which areas are in use. Next
CSMCOM asks you to enter the name of the

Advertising