Results 1 to 11 of 11

Thread: Sequential work with the port

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Apr 2017
    Posts
    30
    Thanks
    9
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Sequential work with the port

    Quote Originally Posted by high_flyer View Post
    Is that correct?
    Yes that's right. This is problem number 1. I have not tried your method yet, because no access to the board. I would like to monitor the reception with time, because if my request does not reach board for some reason, she will not answer me, no matter how much time I wait. For this reason, I make repeated requests after the timeout.

    Quote Originally Posted by high_flyer View Post
    All the story around it, how things in other threads are, are not the problem, more the motivation, as far as I can see.
    I can not say with certainty. But I tried to call directly device->switchState(7, true); from algorithm, which got the error that you can not call the methods of another thread, being not in the main thread. Therefore, I connected them with signals.
    Last edited by maratk1n; 18th December 2017 at 21:05.

Similar Threads

  1. Instructions are NOT sequential in qt/qml?!?
    By JaySDC in forum Qt Quick
    Replies: 9
    Last Post: 24th October 2015, 17:41
  2. serial port command doesn't work
    By hovuquocan1997 in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2015, 16:10
  3. Replies: 2
    Last Post: 26th July 2014, 16:36
  4. Sequential animations on each listitem
    By rama.kesi in forum Qt Quick
    Replies: 3
    Last Post: 12th October 2012, 03:36
  5. Sequential animations on each listitem
    By rama.kesi in forum Qt Quick
    Replies: 0
    Last Post: 8th October 2012, 05:24

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.