Hello I have a data which was captured through serial port I need help on selecting specific datas from the data´s captured. The data format is as follows
...‚.20D20¨G...‚B02DA,20,2,L,50.06,11.96,3.30,2.45,2.65,865,255,93,1205.008,928,P.ñ...‚
.10D30«D...‚?01DA,30,2,S,P,L,P,S,P,M,P,P,R,N,N,D,E,S,80010.,99.999,0.08333¾Ÿ...‚
.20D30¥I...‚?02DA,30,2,L,P,L,P,N,P,M,P,P,R,N,N,D,E,S,1457.6,99.994,0.08333.W...‚.10D31©E...‚
101DA,31,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,M,0,1¥:...‚.20D31£J...‚102DA,31,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,M,0,1vh...‚
.10D32§F...‚P01DA,32,0,1.00,15,85,31,27,250,27.0,56,0,3,2,E,N,P,O,P,O,O,P,P,O,P,O,P,P,P,P,F1Ù...‚.20D32¡K...‚
T02DA,32,54,1.53,15,19,29,38,250,27.0,47,58,75,52,E,N,P,P,P,P,P,P,P,P,P,P,P,P,P,P,F[²...‚
.10D17£G...‚.01DA,17,50.00,0,60,-85,0êM...‚
I only need the data's of a kind B02DA,20,2,L,50.06,11.96,3.30,2.45,2.65,865,255,93,1205.008,928,P.ñ
and
B01DA,20,2,L,50.06,11.96,3.30,2.45,2.65,865,255,93,1205.008,928,P.ñ
which are by the way the values will change with certain limits and the ultimate goal is to plot the real time graph of some parameters extracted from these data´s .
I am wondering if anybody could give me some ideas about these problem. To differentiate things these selected items are 15 characters separated by comma and all these selected items are separated from other datas by 3 dots and a comma.
Any help would be appreciated
Bisaye
0
Newbie Poster
Recommended Answers
Jump to PostOkay, is this data that you captured written to a file? I ask because you use the past tense "captured" as this is not a NRT (Near Real Time) application. If it is a NRT application and you recieve this data in chuncks then the way you handle this data …
All 4 Replies
vb5prgrmr
143
Posting Virtuoso
Bisaye
0
Newbie Poster
vb5prgrmr
143
Posting Virtuoso
Bisaye
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.