Capturing data from Serial Port

Discussion on the RaceCapture App - Windows, Android, OSX and Linux.

Moderators: JeffC, stieg

Post Reply
VTGBoss
Posts: 5
Joined: Mon Aug 24, 2015 9:57 pm

Capturing data from Serial Port

Post by VTGBoss »

I have an application where I will be sending data to the serial port of a RaceCapture/Pro MK2 and I need a Windows application that will capture the data and save it to a file.
Has anyone done something like this?
Is there a terminal type application that would do this already?
Does anyone know how to do this type of programming? I would compensate you for your help, of course.

A quick outline of the application is as follows:

Open COM port
Prompt for a file name or it can be assigned based on date-time.
Open file for writing
Wait for data to come in
Read data and store it (10 Hz)
Check keyboard, if Function Key or Esc pressed stop process, finish storing data and close file
Start process again.
...
When done with all testing
Close COM port
Exit the application

I imagine a couple of dozen lines of code is all that might be needed.

Thanks in advance and feel free to contact me off-line.

Post Reply