From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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

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

错误编号-1073807339的问题

我觉得有两点可以注意一下:

 

1.读取前加一个延时,以保证下位机准备好数据后控制器再读取;

2.可以在读取前通过Visa属性节点获取Number of Bytes at Serial Port参数,将其作为读取字节数,应该就不会出现楼上说的情况

0 项奖励
11 条消息(共 12 条)
2,089 次查看

延时已经添加至20s,根据通信协议设置为两个字节,还是不行啊

0 项奖励
12 条消息(共 12 条)
796 次查看