LogSer
I recently needed an application to save data from a serial port to a text file. Although most terminal emulators like ProComm can handle this, it's quite a lot of overhead for such a simple task. I came up with the following solution, which works for Windows only (b/c 90% of the interesting code is the low level serial interface, it would be totally different on Linux).
The code can be downloaded in either Source Code form, or as a Compiled EXE . To compile the source for yourself, simply run cl LogSer.cpp to compile with MS's Visual Studio command line compilers.
Usage:
Run logser.exe <com port> <options> where options are:
- -d Display the data on the serial port
- -s Save the data from the serial port
- -o Overwrite the log (instead of appending)
- -b Specify the bitrate
- -p Specify parity settings (8n1, 7e2, etc)
Download:
- v1.0.0 source executable (115200 bps, 8N1 only)
- v1.0.1 source executable (configurable bitrate / parity)
י"ח שבט תשס"ז - February 5, 2007 at 5:03 am
[...] code can be downloaded as either source code or a compiled EXE from the LogSer release page under the Software section. To compile the source for yourself, simply run cl [...]
י"ח שבט תשס"ז - February 5, 2007 at 5:03 am
[...] as either source code or a compiled EXE from the LogSer release page under the Software [...]
ט"ז תמוז תשס"ז - July 1, 2007 at 3:26 pm
[...] a counterpart to the LogSer program, I'm releasing code that allows dumping data from stdin to an arbitrary serial [...]