Bill2003
New Member
I am trying to parse 2 lots of data from a string of serial data called EasyComm coming from my computer. It arrives in a format such as this AZ123.0 EL145.5. The AZ & EL are always in the string but the numbers unfortunately don't don't always have the 3 digits that come before the decimal point. It can be anything from 0.0 to 360.0 for the AZ data and 0.0 to 180.0 for the EL data. What I want to do is to identify each of the 2 parts of data using the AZ & EL strings and then get the 1 to 3 digits that follow them. I don't need the value after the decimal point, I only need an integer value. I was looking at using the AZ & EL characters to identify each string and then use the decimal point as a delimiter. I hope I've made that clear. There is always a space character between the 2 data strings that I receive, i.e. AZ145.6 EL34.7 I am new to the Oshonsoft software coming from Arduino's and I am still finding my way around the system but I have a reasonable knowledge of the BASIC language. Any help would be appreciated.
Bill2003
Bill2003