NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

visa串口通信无法读数

我使用的是RS-232串口通讯,程序是labview8.2中的范例:Advanced serial write and read.vi,但是一直出现错误,无法读出数据。

提示:错误-1073807246发生于 VISA Configure Serial Port (Instr).vi->Advanced Serial Write and Read.vi中的属性节点 (arg 1)

        可能原因

         VISA:  (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

使用max测试,viread,结果:count 1024;

                                           return count:0;

                                          return status BFFF0015

0 项奖励
1 条消息(共 3 条)
5,210 次查看
0 项奖励
2 条消息(共 3 条)
5,168 次查看
谢谢,我已经知道怎么解决了,其实是我没有把串口的2,3针连起来,由于刚开始学习这些,所以总在犯低级的错误
0 项奖励
3 条消息(共 3 条)
5,164 次查看