Results 1 to 20 of 20

Thread: Checking QByteArray for certain values

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Join Date
    Oct 2011
    Location
    Netherlands
    Posts
    13
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows
    Thanks
    7

    Default Re: Checking QByteArray for certain values

    Unless I completely misunderstand the QBA, I receive precisely what I expected. I've done as you adviced, and the following printed out in my output textbox:

    Qt Code:
    1. 01020003000100
    2. 01020003000101
    To copy to clipboard, switch view to plain text mode 

    I wrote to the DIO (output) first to turn it on, and then read it (input) to see the values in the textbox. The first line is DIO turned on, the second is off.

    So, assuming the returned value doesn't include anything beside that in a secretive manner, the reading works as it is supposed to. :S

    For debug purposes, I disabled the function calls for the other 3 checkboxes, it is still the same as before.

    Attachment 7035
    Attached Images Attached Images

Similar Threads

  1. How to set values in QByteArray?
    By Gokulnathvc in forum Newbie
    Replies: 2
    Last Post: 19th July 2011, 06:44
  2. Replies: 1
    Last Post: 22nd June 2011, 08:12
  3. Checking QByteArray
    By camol in forum Qt Programming
    Replies: 3
    Last Post: 18th March 2011, 13:07
  4. Extracting int values from QByteArray
    By Tottish in forum Newbie
    Replies: 4
    Last Post: 7th April 2010, 10:41
  5. Replies: 9
    Last Post: 25th July 2009, 13:27

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
  •  
Qt is a trademark of The Qt Company.