Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以读取 JAVA 中的超终端数据以将其显示在桌面软件中。我正在使用与端口 COMM 3 连接的称重机的超级终端。我无法了解如何从中读取数据以及如何将其显示到桌面软件的屏幕中。
通常,您可以像所有其他 com 端口一样读取超级终端。同时,您必须向设备发送指定的符号。这可以在器件数据表中找到。
这是一个读取 com 端口的示例。
通讯端口