3 u — read unread data files, 4 n — read newest data file, 6 p — read all program files – Campbell Scientific CSM1 Card Storage Module User Manual

Page 55

Advertising
background image

SMCRead

3

file rootnn.dat

’ appears, where

xxxxxx

is the location of the start of the

file.

If SMCRead finds a file that contains a program, it jumps over the program
and displays ‘

no data found in this area

’.

While reading data from the card SMCRead writes a ‘.’ to the screen for every
block of data read. The size of the block is approximately 1000 locations, but
the exact block size can vary depending on the structure of the data stored in
the card.

This option can be aborted by pressing the

ESC

key.

2.3 U — Read Unread 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 the position from where data was last read. It is
automatically moved after successful collection of data by the A or U options
of SMCRead.

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

2.4 N — Read Newest Data File

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

2.5 L — Read One Data File Starting at a Specified Location

This option stores data to a specific file, as with the N option, but SMCRead
first asks for the starting location of the file. This option is mainly used for re-
reading old data that has already been read, 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.

2.6 P — Read All Program Files

The P option reads all datalogger programs that have been stored in the card.
SMCRead first asks for a root collection file name. Enter a valid name such as
‘ROOT’. SMCRead 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.

Advertising