This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / A question for VB serial port COM1 programming
-lewisliu(lewis);
2004-2-28
{963}
(#1624271@0)
-
hyper terminal中的是ASCII的0,1,。。。和HEX 的0 ,1,2--F不一样。我不知道你到底想输出的是什么,如果是HYPER的那么把数字转换成ASCII先。
-merymaid(merymaid);
2004-2-28
(#1624366@0)
-
I think that MSCOMM1.output="0" is also in ascii format, the output should be same as typing "0" in hyper terminal?Actually I just want to get the same resulting output as hyper terminal. If I type "0" in hyperterminal, I think maybe the output will be the ascii of "0", but if I use MSCOMM1.output="0", it should be the same result.
"A" is the same also with I typing "A" in hyper terminal. Do you think the output of hyper terminal is also ascill format? The same as ANSI format?Thanks.
-lewisliu(lewis);
2004-2-28
{385}
(#1624398@0)
-
ANSI我不是很熟悉那个格式,不过我想基本上是差不多的。如果你能够更加具体说明你需要什么我可能能够给你看看一些例子。VB做串口通信还是不错的。很方便。
-merymaid(merymaid);
2004-2-29
(#1624873@0)
-
我只是要作个程序,发出的数据和Hyper Terminal发出的数据为同一个格式。 多谢。
-lewisliu(lewis);
2004-2-29
(#1625373@0)