mikeage.net Logo
mikeage.net/2006/11/01/

mikeage.net @ ז׳ שבט תשע״ח

Archive for ‍‍י׳ מרחשון תשס״ז - November 1st, 2006

Serial Port Data Logging

‍‍י׳ מרחשון תשס״ז - Wednesday, November 1st, 2006

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 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 LogSer.cpp to compile with MS's Visual Studio command line compilers.

Enjoy

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
Recent Images

Valid XHTML 1.1!
Printer Friendly Page
 

Last Modified: September 04, 2006 @ 02:11 CST

Memory(TRUE): 4194304/4194304
Memory(FALSE): 2965536/2975520