
marsh:  mas-345 read and store (hopefully)


This is a small program (about 700 lines in a single C file) designed
to connect to a MAS-345 multimeter through an RS-232 port.

The MAS-345 is a 3+3/4 digit mm manufactured under several brand
names and sold below 50$; it is not a precision instrument, but it is
handy to monitor a current, voltage, resistance and so on, with
reasonable accuracy.

The program can control up to four mm at a time (recompiling, up to 32),
read data at a given cadence, perform some computations online (using
the 'bc' facility) and save data and results to a file.
It is suitable also as a front-end for other applications.

The program has been tested in a GNU/Linux environment (Debian Sarge,
kernel 2.6.8); it needs standard Unix tools for compilation (C compiler
and libraries) and the 'bc' application if online calculation is
required.

Compile with "gcc marsh.c -o marsh" or "make marsh" and run "./marsh".
Use "./marsh -h" to see available options.

