hserin buffer fills before all characters can be read


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Default Re: hserin buffer fills before all characters can be read

    Code:
    Hserin [WAIT("U"),STR IncomingData\9]
    'This one waits forever for the correct string to arrive.
    
    
    Hserin 100, Jump, [WAIT("U"),STR IncomingData\9]
    'This one waits for the correct string for 100ms and then if not received jumps to Jump label.
    
    Jump:
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Join Date
    Sep 2017
    Posts
    17

    Default Re: hserin buffer fills before all characters can be read

    Thank you. I wasn't aware that you could combine the Wait with the timeout. That works very well.

    Thanks
    George

Similar Threads

  1. hserin buffer
    By aarothepharo in forum mel PIC BASIC
    Replies: 8
    Last Post: - 6th May 2013, 11:27
  2. Read write word and Hserin
    By aa222k in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st December 2011, 20:27
  3. read bytes number in Hserin
    By Rony in forum Serial
    Replies: 13
    Last Post: - 13th August 2010, 11:32
  4. Only the first 8 characters.
    By timseven in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd September 2009, 02:43
  5. Replies: 3
    Last Post: - 12th February 2007, 19:32

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts