• <tfoot id='3osb5'></tfoot>

      <small id='3osb5'></small><noframes id='3osb5'>

        <bdo id='3osb5'></bdo><ul id='3osb5'></ul>
    1. <legend id='3osb5'><style id='3osb5'><dir id='3osb5'><q id='3osb5'></q></dir></style></legend>

        <i id='3osb5'><tr id='3osb5'><dt id='3osb5'><q id='3osb5'><span id='3osb5'><b id='3osb5'><form id='3osb5'><ins id='3osb5'></ins><ul id='3osb5'></ul><sub id='3osb5'></sub></form><legend id='3osb5'></legend><bdo id='3osb5'><pre id='3osb5'><center id='3osb5'></center></pre></bdo></b><th id='3osb5'></th></span></q></dt></tr></i><div id='3osb5'><tfoot id='3osb5'></tfoot><dl id='3osb5'><fieldset id='3osb5'></fieldset></dl></div>

        如何使用 JAVA 向 COM PORT 发送数据?

        时间:2024-08-25
        • <small id='EblAT'></small><noframes id='EblAT'>

            <tfoot id='EblAT'></tfoot>
            <legend id='EblAT'><style id='EblAT'><dir id='EblAT'><q id='EblAT'></q></dir></style></legend>

            • <bdo id='EblAT'></bdo><ul id='EblAT'></ul>

                <i id='EblAT'><tr id='EblAT'><dt id='EblAT'><q id='EblAT'><span id='EblAT'><b id='EblAT'><form id='EblAT'><ins id='EblAT'></ins><ul id='EblAT'></ul><sub id='EblAT'></sub></form><legend id='EblAT'></legend><bdo id='EblAT'><pre id='EblAT'><center id='EblAT'></center></pre></bdo></b><th id='EblAT'></th></span></q></dt></tr></i><div id='EblAT'><tfoot id='EblAT'></tfoot><dl id='EblAT'><fieldset id='EblAT'></fieldset></dl></div>
                  <tbody id='EblAT'></tbody>
                  本文介绍了如何使用 JAVA 向 COM PORT 发送数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  可能重复:
                  Windows 上的 Java 串行通信

                  朋友们,我想在 JAVA 中连接并传输数据到 COM PORT(虚拟或原始)?

                  Friends, I want to connect and transfer data to COM PORT (either virtual or original) in JAVA?

                  推荐答案

                  这个问题已经被问过很多次了:

                  This question has been asked and answered many times:

                  使用Java从串口读取文件

                  用Java读取串口

                  用Java从串口读取文件

                  是否有用于访问 Serial 的 Java 库或框架端口?

                  Windows 上的 Java 串行通信

                  参考一些.

                  我个人推荐 http://serialio.com 的 SerialPort - 它不是免费的,但非常值得任何商业项目的开发商(无版税)许可费.可悲的是,它不再是免版税的,而且 SerialIO.com 似乎已将自己重塑为硬件销售商.我不得不搜索有关 SerialPort 的信息.

                  Personally I recommend SerialPort from http://serialio.com - it's not free, but it's well worth the developer (no royalties) licensing fee for any commercial project. Sadly, it is no longer royalty free to deploy, and SerialIO.com seems to have remade themselves as a hardware seller; I had to search for information on SerialPort.

                  根据个人经验,我强烈建议反对 Sun、IBM 和 RxTx 实施,所有这些实施在 24/7 使用时都不稳定.有关详细信息,请参阅我对上述一些问题的回答.公平地说,自从我尝试 RxTx 以来,它可能已经走了很长一段路,尽管 Sun 和 IBM 的实现基本上已经被放弃了,即使在那时也是如此.

                  From personal experience, I strongly recommend against the Sun, IBM and RxTx implementations, all of which were unstable in 24/7 use. Refer to my answers on some of the aforementioned questions for details. To be perfectly fair, RxTx may have come a long way since I tried it, though the Sun and IBM implementations were essentially abandoned, even back then.

                  jSSC (Java 简单串行连接器),正如@Jodes 评论所建议的那样.

                  A newer free option that looks promising and may be worth trying is jSSC (Java Simple Serial Connector), as suggested by @Jodes comment.

                  这篇关于如何使用 JAVA 向 COM PORT 发送数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何使报表页面方向更改为“rtl"? 下一篇:没有了

                  相关文章

                    <bdo id='Tz0La'></bdo><ul id='Tz0La'></ul>
                1. <legend id='Tz0La'><style id='Tz0La'><dir id='Tz0La'><q id='Tz0La'></q></dir></style></legend>

                  <small id='Tz0La'></small><noframes id='Tz0La'>

                  <tfoot id='Tz0La'></tfoot>

                  <i id='Tz0La'><tr id='Tz0La'><dt id='Tz0La'><q id='Tz0La'><span id='Tz0La'><b id='Tz0La'><form id='Tz0La'><ins id='Tz0La'></ins><ul id='Tz0La'></ul><sub id='Tz0La'></sub></form><legend id='Tz0La'></legend><bdo id='Tz0La'><pre id='Tz0La'><center id='Tz0La'></center></pre></bdo></b><th id='Tz0La'></th></span></q></dt></tr></i><div id='Tz0La'><tfoot id='Tz0La'></tfoot><dl id='Tz0La'><fieldset id='Tz0La'></fieldset></dl></div>