DAQ
Card Software 014
back
Q. Why the PDS/tDS does not transfer data from Ethernet to serial port?
Ans: In some socket program written by user, they may face the problem that PDS/tDS canˇ¦t send or receive data properly.
In their program usually, they cut off the connection immediately after sending the data to our PDS/tDS. This method looks fine, but actually could bring an abnormal result. Thatˇ¦s because the PDS/tDS can flush the data in buffer when receiving a disconnect packet. In other words, it lead to the PDS/tDS losing message.
To avoid the occurrence of this problem, please modify your socket program.
For example, add a ˇ§delay functionˇ¨ between ˇ§data sendˇ¨ and ˇ§socket disconnectionˇ¨.
Written by Vio Fan
Date:2012/02/14 |