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 90: 6 p -- collect program files, 7 d -- store a .dld program file, 8 f -- store a file, 9 e -- erase and reset storage module, 10 c -- clear data storage

Advertising
background image

SECTION 6. SMCOM

6-2

monitor. Escape or Ctrl_ exits this mode and
returns the options menu.

6.2.2 A -- COLLECT ALL DATA FILES

The A option will collect all non-program files in
the Storage Module. Normally these files will
contain data that the Storage Module collected
when attached to a datalogger, but the file could
also be a text file that was stored in the Storage
Module from another source.

SMCOM detects the file separators, called file
marks. The oldest file in the Storage Module is
saved with the root filename with the next
available number. The numbers are assigned
sequentially until all data files are collected
(Section 6.3).

The message

"xxxxxx: Writing to file ROOTn.dat."

will appear on the monitor for each file collected
where xxxxxx is the beginning location number
of the file in the Storage Module. The location
information may be useful if the user wishes to
directly examine the file in the Storage Module
using the Terminal Emulator option.

6.2.3 U -- COLLECT UNCOLLECTED DATA

FILES

The U option functions the same as the A
option with the exception that the data is
collected from the current position of the
Storage Module Dump Pointer. The Dump
Pointer is at the beginning of memory after the
Storage Module has been reset. Only the A and
U options advance the Dump Pointer; other
options do not change its position. The U
option will collect the files created since the last
time the U or A option was executed.

6.2.4 N -- COLLECT NEWEST DATA FILE

Only the most recently stored file is collected
with the N option.

6.2.5 L -- COLLECT ONE DATA FILE STARTING

AT DISPLAY POINTER

If the user positions the Display Pointer (L) in
the Terminal Emulator option, the SMCOM L
option can be used to collect data from that
location to the end of the file.

6.2.6 P -- COLLECT PROGRAM FILES

The P option collects the datalogger programs
stored in the Storage Module. The Storage
Module maintains the addresses of up to eight
program files. The collected computer files will
be named ROOT1.DLD to ROOT8.DLD the
number for each corresponds to the program's
address in the Storage Module.

6.2.7 D -- STORE A .DLD PROGRAM FILE

The D option is used to store a datalogger
program in the Storage Module. SMCOM asks
for the computer file name and adds the
extension .DLD if not included. SMCOM then
sends the file to the Storage Module. The prefix
'#n' (n=1 to 8) in front of the file name will direct
the file to one of 8 program files in the Storage
Module (e.g., #3TEST.DLD tells the SMCOM to
store TEST.DLD as program 3. If the prefix is
not included, the file will be stored as
program number 1.

6.2.8 F -- STORE A FILE

Non-program text or data files can be sent from
the computer to the Storage Module using the F
option. SMCOM asks for the file name, then
sends the file. If the computer file is an odd
number of bytes, the Storage Module will
append a null character (ASCII 0 decimal) to the
end of the file.

6.2.9 E -- ERASE AND RESET STORAGE

MODULE

Key E and, after asking if you are sure you want
to, SMCOM will send the commands to erase
and reset the Storage Module. This option
performs a write/read cycle to check all
memory. During this test, a "+" is displayed for
each RAM chip written to and a "-" is displayed
when the chip is successfully read. "X"
indicates a chip could not be read. All data
and programs are erased and switches are
set to the default settings
(address = 1, baud
= 76800/9600, fill & stop = off, and encode
ASCII = on).

6.2.10 C -- CLEAR DATA STORAGE

The C option is used to clear the data storage
area of the storage module. This option, after
asking if you are sure, erases all data stored in
the storage module. Programs stored in the
storage module will be retrieved prior to
resetting the data storage area. After clearing

Advertising