String Headache

Hi Guys, I have a string coming from a navigation PC, containing an easting and northing. The string being sent looks exactly like this:

E238620.31 N2829868.73 FP 238620.31<CR><LF>

Now the string works on another system ( a video overlay system), so I know its there, but I would like to work with it in Processing, and I can't for the life of me see it. I just keep getting "null"

Something tells be it could have something to do with the CR and LF I cant change the string at all that is what it is.

Ive been going down the route of >>>>> String inBuffer = myPort.readString();

Any help would greatly be appreciated.

Cheers

Nik

Tagged:

Answers

Sign In or Register to comment.