Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ChadReitsma

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Ah yes, sorry about that - I changed the output to contain the X,Y,Z values - and tried using find() ... still ran in to some problems, but I think I've got it figured out.

    Thanks for the help!...
  2. Replies
    13
    Views
    1,153

    Re: String.Find() not working ...

    Hi Guys, thanks for the help.
    It just doesn't seem to be working like that for me, so I'm not sure what's up - at any rate the find_first_of is working for me so I'm just going to use that.
    ...
  3. Replies
    13
    Views
    1,153

    Re: String.Find() not working ...

    I'm not going to use find(), it seems that find_first_of, and find_last_of actually work...

    The documentation on find() states that I can give it a String like this:
    find("THIS");

    But it...
  4. Replies
    13
    Views
    1,153

    Re: String.Find() not working ...

    That's not pseudo man, it's exactly what I'm using... here let me post it:


    //Extract the Angle data from the Buffer
    //IMU Outputs:
    //X:-0.36Y:0.29Z:-176.93!!!

    std::string comData, gyroX,...
  5. Replies
    13
    Views
    1,153

    Re: String.Find() not working ...

    I certainly did debug it :)
    I am using a Trace from inside of VC++ 2010 Express.


    I have this in my code:

    size_t xpos;
    xpos = comData.find("X:");
  6. Replies
    13
    Views
    1,153

    Re: String.Find() not working ...

    Hi Victor...
    Sorry - I'm just learning... what I mean by "Empty" is it doesn't return the position of "X:" ... it should be a number.
    When I hover my mouse over size_t, it states that it is an...
  7. Replies
    13
    Views
    1,153

    String.Find() not working ...

    Hi guys, sorry - I posted this in another thread but realized it should be in it's own...

    Here's what's up.
    I have a string that I have set up like this:

    std:string comData;
    and comData...
  8. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Ok, getting a little bit further here, but these string functions aren't working... not sure what's wrong :(

    Here's what's up.
    I'm reading the com-port data, and storing that into a buffer.
    I...
  9. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Hi Mike, yeah I figured I could do some string manipulation there - I'm so used to PHP that getting my brain working with C++ again is a little tricky, haha.

    Here's the code: szBuffer is:...
  10. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Me again... was wondering if someone knew a really easy way to convert this output from the buffer

    0x0018e4b4 "!ANG:0.54,2.08,-178.62
    !ANG:0.43,2.05,-178.64
    !ANG:0.44,1.96,-178.65
    "
    How can I...
  11. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Got it!!! :)

    I found a few examples using CSerial... but I was missing this serial.lib, built the library separately, added it to my project and it worked!
    For anyone that just needs a quick...
  12. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Yep, I've tried using their examples but it doesn't seem to read the Port correctly - I'll keep trying though - thanks for the tips!
  13. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Hi guys, Sorry for the sarcasm - it's just really frustrating.
    I do appreciate the help.

    I have to use the /MT option because the application I am modifying (Half-Life 2) is coded that way -...
  14. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Can anyone point me to a full example please, not the stupid MSDN article that only has Pieces...
  15. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Big help on this forum....
  16. Replies
    20
    Views
    3,730

    Re: Help with Serial Communication - Please!

    Hi Guys, Sorry I should be more specific...

    When I pass the buffer date into a Trace so I can see what it's doiing, it outputs all these garbage characters, not the proper text... I can read...
  17. Re: Serial Communication help for capturing data

    Thanks for this, This has helped!
    The Data that is coming in is all scrambled thought :(

    I have a Teensy 2.0 that is Sending data to COM8 like this:
    !ANG: 0.22, 0.33, 0.12
    !ANG: 0.22, 0.33,...
  18. Replies
    20
    Views
    3,730

    Help with Serial Communication - Please!

    Hi Everyone, happy to join the forums here!
    I'm having one hell of a time with Serial Communication in VC++ (MultiThreading /Win32)

    Here's the issue...
    I have a USB Serial device that is...
Results 1 to 18 of 18


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center