Section 7. csmcom, 1 installation, 2 getting started – Campbell Scientific PC208 Datalogger Support Software User Manual

Page 93: 3 menu options, 1 t -- terminal emulator

Advertising
background image

7-1

SECTION 7. CSMCOM

CSMCOM supports Campbell Scientific's Card Storage Module when the CSM1 or MCR1 is used as the
card reader. It provides a simple and efficient way for you to extract data from a card. Most program
functions can be accessed from the DOS command line, allowing you to incorporate the program in
batch files for automated data extraction.

SMCREAD supports PC card drives installed in the computer.

If you are familiar with Campbell Scientific's SMCOM program you will find many aspects of the
operation of CSMCOM to be similar.

7.1 INSTALLATION

CSMCOM consists of a single file that was
optionally installed as part of the PC208
installation.

CSMCOM needs an IBM-compatible PC or
PS/2 machine with a minimum of 256K of
memory. It will run on any monitor capable of
displaying an 80 x 25 text screen (see Section
7.7.1.1 for older LCD display options). A
version of PC or MS-DOS 2.0 or higher is
required.

7.2 GETTING STARTED

To run CSMCOM type 'CSMCOM <Enter>'.
CSMCOM first asks which COM port the
storage module is connected to; enter 1, 2, 3 or
4. CSMCOM now attempts to communicate with
the module and ascertain the status of the card.
The program supports COM ports 1 to 4, with
the addresses and IRQ lines as used by recent
releases of Campbell Scientific software (see
Appendix B for further details).

The module must be connected to the PC via
an SC532 interface, or directly to a Campbell
Scientific PC201 card with an SC209 cable. If
an SM232A interface is being used please refer
to Section 7.7.1.2 for further information.

CSMCOM automatically tests the PC speed and
sets the communication speed accordingly. If
unable to communicate with the module
CSMCOM reduces the communication speed
(baud rate) and makes two further attempts at
establishing communication with the module.
Section 7.7.1.3 describes how to adjust the
communication speed options manually. It is
also possible to increase the speed above the
default to increase data transfer rates on newer,
faster PCs.

Once communication with the CSM1 has been
established CSMCOM displays the status of the
card plugged into the module, in a 'Module
Status Window' at the top of the screen. If
CSMCOM has detected that the card is not
plugged in, it asks you to plug in the card before
continuing. If any errors in the registers of the
card are found or the card battery is low a
warning message is displayed.

7.3 MENU OPTIONS

CSMCOM displays the menu options as follows:

CSMCOM options:

T -- Terminal emulator
A -- Collect All data files
U -- Collect Uncollected data files
N -- Collect Newest data file
L -- Collect one data file starting at a

specified Location

P -- Collect all Program files
D -- Store a .DLD program file in the card
F -- Store a text File in the card
E -- Erase, reset and test the card
C -- Clear data area quickly
Q -- Quit

Option:

Select an option by typing the character shown
at the start of each line.

7.3.1 T -- TERMINAL EMULATOR:

In this mode, the PC runs as a simple terminal
allowing you to issue telecommunication
commands directly to the module (see CSM1
manual for further details). You should only
need to us this option when trying to diagnose
problems with a corrupted card.

Advertising