Type: Posts; User: ChadReitsma
Search took 0.03 seconds.
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!...
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.
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:
That's not pseudo man, it's exactly what I'm using... here let me post it:
//Extract the Angle data from the Buffer
std::string comData, gyroX,...
I certainly did debug it :)
I am using a Trace from inside of VC++ 2010 Express.
I have this in my code:
xpos = comData.find("X:");
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...
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:
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.
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:...
Me again... was wondering if someone knew a really easy way to convert this output from the buffer
How can I...
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...
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!
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 -...
Can anyone point me to a full example please, not the stupid MSDN article that only has Pieces...
Big help on this forum....
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...
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,...
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...
Click Here to Expand Forum to Full Width