Labview做 TCP 通讯报错“网络操作超出用户指定范围或系统时间限制”,错误代码56,怎么解决?

2019-07-17 09:22发布

TCP通讯,下位机STM32主控芯片,8路采集每路20k速率,用labview开发上位机; 下位机是客户端,上位机服务器。 上位机开始运行正常,能接收数据,但运行几分钟后就报错“网络操作超出用户指定范围或系统时间限制”,错误代码56。


求大神解决啊
跪谢
=========注意:是可以成功运行一段时间的,但是运行一会就出错。
是采样速率太快,上位机取得慢??
大神啊
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
9条回答
socobear
2019-07-17 14:15
没有做个tcp的控制,网上搜索有解决办法,你可以试试:
Solution:
Error 56 is generated when an operation exceeds the user-specified time limit. This error is caused by the LabVIEW code not receiving a network response within the defined time limit. This solution may also be relevant if you experience Error 66 – "LabVIEW: The network connection was closed by the peer" when the server reaches a timeout limit, and closes the connection.

引用自:
http://digital.ni.com/public.nsf ... F6A86256E4A0080A120

一周热门 更多>