没有做个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.
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
一旦错误56达到设定的次数后,关闭TCP连接,重新打开或侦听。
多谢回复,我试着忽略了,但是再也没有数据过来了。 为何能读一段时间才出错啊?
感谢回复,我来看看
如果下位机OK的话,再来定位上位机问题
一周热门 更多>