Results 1 to 20 of 22

Thread: Number of bytes receives not the same after each cycle

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Jul 2014
    Posts
    26
    Thanks
    26
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Number of bytes receives not the same after each cycle

    Quote Originally Posted by Lesiok View Post
    OK, I'm asking once more : How do you know that for example 01 is the packet ID and not its content ?
    Is the sender sends the data all the time or only at your request?

    OK, I'm asking once more : How do you know that for example 01 is the packet ID and not its content ?:
    __________________________________________________ ___________________________________
    because I have 9 bytes : one for ID and 8 for bytes , and I have a point of depart : when I click on start button : I receive data



    Is the sender sends the data all the time or only at your request? :
    __________________________________________________ ____
    I have my application Qt in the raspberry and i receive data from microcontroller

    I have 2 buttons : one for start and one for for stop
    when i click start, the port serial is openning, and data (packets of 9 bytes) is receiving from µC
    I will display this packets on a table ..


    You are right, the processing of data in the sender is infinitely, so when i click on the start button, i receive data but i don't know where is the begenning of the packet, !
    its an other problem , thank for your tip, but you have any idea about resolving this ?
    Last edited by AUDI_ENG; 5th July 2014 at 16:51.

Similar Threads

  1. Replies: 4
    Last Post: 23rd October 2012, 08:40
  2. Qt EventLoop Duty Cycle (Blocking vs Spinning)
    By bob2oneil in forum Qt Programming
    Replies: 5
    Last Post: 20th July 2011, 22:06
  3. Replies: 2
    Last Post: 9th June 2010, 16:08
  4. MainWindow::resizeEvent - Infinite Cycle
    By metRo_ in forum Qt Programming
    Replies: 2
    Last Post: 1st June 2010, 23:33
  5. How use Model view with a tree wich have Cycle ?
    By weepdoo in forum Qt Programming
    Replies: 2
    Last Post: 9th December 2008, 17:05

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.