Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: TerdRatchett; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    23
    Views
    19,515

    Hi Dave, I think your latest solution might...

    Hi Dave,

    I think your latest solution might have worked, but I had already got it working by parsing it after the fact based on Jersons parse routine. I really appreciate everyones input. Here is...
  2. Replies
    23
    Views
    19,515

    That was the way I read the manual as well. I...

    That was the way I read the manual as well. I thought that as soon as the function saw a character meeting the WAIT criteria it would terminate collecting any more characters. In fact what I'm seeing...
  3. Replies
    23
    Views
    19,515

    Hi David, That would almost work. The problem...

    Hi David,

    That would almost work. The problem is that neither string is guaranteed to be exactly 5 characters. So if the sent data was 1499,136 I would actually get 1499, likewise if the data is...
  4. Replies
    23
    Views
    19,515

    So now that I'm just looking at a parsing issue...

    So now that I'm just looking at a parsing issue I've changed the serial in code to:

    hserIN 65535, oops, [STR smallp\5, WAIT(","), STR largep\5\10]

    It doesn't work as expected. When...
  5. Replies
    23
    Views
    19,515

    Well, I got the serial function working reliably...

    Well, I got the serial function working reliably by doing this:

    hserIN 65535, oops, [STR smallp\12\10]

    rather than this:

    hserIN 65535, oops, [STR smallp\12\13]

    aparently...
  6. Replies
    23
    Views
    19,515

    and to make matters worse I am unable to...

    and to make matters worse I am unable to consistantly and correctly receive serial packets.
  7. Replies
    23
    Views
    19,515

    I think that's a great suggestion and I agree. I...

    I think that's a great suggestion and I agree. I have been unable to successfully parse it after the fact.
  8. Replies
    23
    Views
    19,515

    I appreciate your help! Very confused :( ...

    I appreciate your help! Very confused :(

    hserIN 65535, oops, [STR smallp\10\","]

    The first time thru I get the correct first part of the string. the device was sent 777,53 and smallp received...
  9. Replies
    23
    Views
    19,515

    No success...

    I've tried dozens of ideas along those lines and no solution works....

    Like:
    hserIN 65535, oops, [STR smallp\5, WAIT(","), STR largep\5\13]

    problem here is the string size I expect to receive...
  10. Replies
    23
    Views
    19,515

    Hmmm...

    Both great suggestions for which I appreciate!!! I'm pondering....
  11. Replies
    23
    Views
    19,515

    Thanks...

    I appreciate all of your help!

    I had written the code using Hserin to capture the raw data from my serial port into a single string of [10]. It works so now I need to separate the two values....
  12. Replies
    23
    Views
    19,515

    Parsing Strings...

    Hi Everyone,

    I have written a big chunk of code an it is working well, but I am stuck on something having to do with strings.

    I have received a string from a serial device which contains two...
Results 1 to 12 of 12