开发者

RS232 communication problem in Java

开发者 https://www.devze.com 2023-01-31 05:18 出处:网络
Can I found out in Java if cable 开发者_开发问答is pluged in RS232 port on my comp? I work on some application, I have convertor from usb to rs232 on com6 port and I need info if there is cable pluged

Can I found out in Java if cable 开发者_开发问答is pluged in RS232 port on my comp? I work on some application, I have convertor from usb to rs232 on com6 port and I need info if there is cable pluged in or not.


Try to open the that the Port "COM6" at regular interval, but be careful to put it inside try-catch.

Thanks:)

0

精彩评论

暂无评论...
验证码 换一张
取 消