Results 1 to 2 of 2

Thread: Time to Write Data Logger Application

  1. #1
    Join Date
    May 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Time to Write Data Logger Application

    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

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: Time to Write Data Logger Application

    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 for that..
    Or you can draw yourself by subclassing QWidget and overriding the QWidget:aintEvent.

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

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

Similar Threads

  1. QFile write and file modyfication time
    By Talei in forum Newbie
    Replies: 1
    Last Post: 9th May 2010, 21:46
  2. How to write a date and time of compiled
    By TomASS in forum Newbie
    Replies: 1
    Last Post: 13th December 2009, 20:14
  3. possible open/write two files same time with QFile
    By npotency in forum Qt Programming
    Replies: 4
    Last Post: 15th November 2009, 01:28
  4. How to write data into a file
    By grsandeep85 in forum Qt Programming
    Replies: 9
    Last Post: 21st July 2009, 09:51
  5. TCP Write Raw data
    By ^NyAw^ in forum General Programming
    Replies: 19
    Last Post: 23rd November 2007, 17:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.