Announcement

Collapse
No announcement yet.

Sleep command issues

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16


    is this behavior same for wait untill touch?

    I mean when time finishes without touch response is NAK and if touch accurs before time finishes response is ACK, rigth?

    regards,
    Serkan

    Comment


    • #17


      Correct
      Mark

      Comment


      • #18


        i also tested it with wait untill touch. it worked with a strange way.

        I m calling wait untill touch with 5000 to wait 5 seconds and then increase x counter when timeout happens or a touch event. When i run the code without touching screen it almost works expected x counter increase every 7 seconds. However; when i cut the waitby touching the screen x counter increase twice with 1 seconds interval then 5 seconds loop starts again. I mean wait untill touch retruns twice altough one touch takes place.

        I tested the same thing with sleep it worked well.

        Regards,
        Serkan

        Comment


        • #19


          The timings are only approximate.

          I cannot recreate your problem, I only get one response per invocation.

          Please check that you are not sending too much information with the command (that may be interpreted as another command), or some other command that you are not checking the response of.
          Mark

          Comment

          Working...
          X