高手们都到哪儿去了?接收到的串口数据怎么转换成图形? 急 ( 积分: 50 )

  • 主题发起人 主题发起人 国色天香
  • 开始时间 开始时间

国色天香

Unregistered / Unconfirmed
GUEST, unregistred user!
我用超级终端从一台仪器接收到下面的数据,前面的应该是数据,后面应该是图形。

数据我会处理,但不知道怎么还原图形? 图形是多个波形图。

数据如下,我用别人的软件接收数据,得到界面如截图,有哪位大师知道怎么还原三个波形图?

截图如下:

http://dl2.csdn.net/down4/20071102/02161523770.JPG

提供点源码最好,谢谢了。



下面是接收的数据: CRBC= 和 CPLT= 之间是个图形。

+++++

INSTR= CA530-0
DATE= 11/10/2007-10:00
MODE= OT-B0-A1-U2-P1
DISC= 17-30-30
ID=
SEQ= 4223
RBC= 3.94 O-OK-O
MCV= 96.7 O-OK-O
HCT= 38.1 O-OK-O
PLT= 89 O-OK-L
MPV= 12.0 O-OK-O
WBC= 5.3 O-OK-O
HGB= 131 O-OK-O
MCH= 33.4 O-OK-H
MCHC= 346 O-OK-O
TRBC= 12.7 O-OK-O
TWBC= 13.8 O-OK-O
LYMF= 1.9 O-OK-O
GRAN= 3.1 O-OK-O
MID= 0.3 O-OK-O
LPR= 35.6 O-OK-O
GPR= 58.5 O-OK-O
MPR= 5.9 O-OK-O
RDWR= 10.3 O-OK-L
RDWA= 56.1
PDW= 9.0 O-OK-L
PCT= 0.10 O-OK-H
LPCR= 42.5 O-OK-O
CRBC=
:06:0E:13:13:0F:0A:07:05
:04:04:06:08:0A:0C:11:1B
:2B:45:68:8F:B9:DC:F6:FF
:FD:F3:E1:D0:BA:A7:8F:7B
:6B:5D:50:46:3E:37:31:2D
:2B:2B:2A:29:29:2A:2B:2D
:2D:2D:2D:2D:2B:28:24:22
:1F:1D:19:16:12:10:0D:0C
:0B:09:08:07:06:05:04:04
:03:03:02:02:02:04:07:0C
CPLT=
:00:00:00:00:00:00:00:01
:01:03:04:05:06:08:09:09
:0A:0A:0A:09:08:08:07:07
:06:06:06:05:05:05:05:05
:05:05:05:05:04:04:04:04
:03:03:03:03:03:03:03:03
:03:03:03:03:03:03:03:02
:02:02:02:02:02:0
:01:01:01:01:01:01:01:01
:01:01:01:01:01:01:01:01
CWBCL=
:00:00:00:00:00:00:01:01
:02:03:04:05:07:09:0B:0D
:0E:0E:0E:0E:0C:0B:09:07
:06:04:03:02:01:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
CWBCM=
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:01:01:01:01:01:01:01:01
:01:01:01:01:01:01:01:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
CWBCG=
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:00:00:00:00:00:00
:00:00:01:01:02:03:03:04
:05:06:06:07:08:08:09:09
:0A:0A:0A:0B:0B:0B:0B:0B
:0A:0A:0A:09:09:09:08:08
:07:07:06:05:05:04:03:02
:02:01:01:00:00:00:00:00
#####
 
这是一个血常规的波形图,你数数有多少个数,就是X坐标,每个数就是Y坐标,但这是十六进制,你转换成十进制的试试看,看能不能显示波形,用一个Char之类的控件显示
 
写错了,是chart
 
后退
顶部