chath259
Aerospace
- Oct 11, 2006
- 9
Hi,
I'm having trouble splitting up data that I am receiving through a COM port. The data I am receiving is a mix between two different GPS readings and a telemetry reading. Right now the data comes through a timer control that takes whatever is in the receive buffer and writes to a text file every twenty milliseconds. Each string in the text file may contain any combination of the three types of data received. I want each type of data to be its own string, distinguishable from the other two. Any help would be very much appreciated.
-Thanks
P.S. Each data type is preceded by its own specific character (i.e. GPS - $ or B and ARTS (Telemetry) - A)
I'm having trouble splitting up data that I am receiving through a COM port. The data I am receiving is a mix between two different GPS readings and a telemetry reading. Right now the data comes through a timer control that takes whatever is in the receive buffer and writes to a text file every twenty milliseconds. Each string in the text file may contain any combination of the three types of data received. I want each type of data to be its own string, distinguishable from the other two. Any help would be very much appreciated.
-Thanks
P.S. Each data type is preceded by its own specific character (i.e. GPS - $ or B and ARTS (Telemetry) - A)