开发者

opening and closing of com ports using LabVIEW

I am using LabVIEW to open a com port and get some data. afterwards, I close the interface. but when I want to begin the process again, there is an error being generated. I feel I have to close the port completely before i o开发者_如何学运维pen it again, but how to do so?


The answer is in the question: you just have to close the VISA session at the end. The reason is that when you open it a second time, it is still openned by the first try which results in an error (the one you see).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜