PDA

View Full Version : Time to Write Data Logger Application



dksoba
20th May 2010, 02:58
I haven't written any code in QT, but I write code in C all the time (for both microcontrollers and in Linux). I've gone through some of the examples in the QT book, but that's the extent of my QT knowledge.

What I would like to know is how long it would take to write an application that does the following:

1) Read Data from RS-232 (Multiple channels of data)
2) Plot Different Channels of Data in realtime (scrolling or continuously running)
3) Record Data into an ASCII file

I'm not wondering exactly how long it will take, but what I'm wondering is if I had better write this in MATLAB. I'm willing to invest a few days to do this, but like I said, I have no idea the size of this task.

Please advise,
Matt

aamer4yu
20th May 2010, 06:43
1) Read Data from RS-232 (Multiple channels of data)
You can search fro QExtSerialPort for that...



2) Plot Different Channels of Data in realtime (scrolling or continuously running)
Look Qwt (http://qwt.sourceforge.net/) for that..
Or you can draw yourself by subclassing QWidget and overriding the QWidget::paintEvent.


3) Record Data into an ASCII file
QFile , QTextStream to the rescue

You can start with point 2, ie. drawing on a widget and saving data in file.. it shoudn't take you long