Z zzben Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-09 #1 mscomm控件发送字符很好用,可二进制数如何发?请各位帮忙!
A app2001 Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-09 #3 http://www.delphibbs.com/delphibbs/dispq.asp?lid=259158 串口数据的传输 http://www.delphibbs.com/delphibbs/dispq.asp?lid=1172601 mscomm控件如何发送二进制数?
http://www.delphibbs.com/delphibbs/dispq.asp?lid=259158 串口数据的传输 http://www.delphibbs.com/delphibbs/dispq.asp?lid=1172601 mscomm控件如何发送二进制数?
Z zzben Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-09 #4 发小于#$80的数字,没问题,可#$81....#$EF,发奇数个错误,偶数个正确
Z zhumoo Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-10 #5 InputMode属性设为:comInputModeBinary 就行了。
D dcs_dcs Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-10 #7 spcomm,mscomm,com+这些com控件他们各有什么不同?侧重点又在哪
Z zzben Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-10 #8 InputMode属性已经设为:comInputModeBinary
Z zzben Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-11 #9 mscomm.output:=#$67;发送的是字符,7F以下没问题,$81--->$FE就有问题了,唉!!!! 请各位大侠救命啊!!!![]
Z zzben Unregistered / Unconfirmed GUEST, unregistred user! 2004-06-11 #10 我自己搞定了 var bytesend:array of byte; i:integer; begin setlength(bytesend,256); for i:=0 to 255 do bytesend:=i; label1.Caption:='hex--->int'+chr(13); mscomm1.Output:=bytesend;//
我自己搞定了 var bytesend:array of byte; i:integer; begin setlength(bytesend,256); for i:=0 to 255 do bytesend:=i; label1.Caption:='hex--->int'+chr(13); mscomm1.Output:=bytesend;//