03-06-2009 06:58 AM
I am sending 30k or so packets every 100 milliseconds or so from a Labview RT PXI system to a CVI program so I am probably pumping data in faster than it comes out. I get a disconnect event in my CVI TCP handler. I have used the example programs on both sides to put it together. I have the TCP Write configured with unlimite timeout. I get a portion of the text message "00,00000000,00,DATA" where the first to bytes are a command number, the second set of 8 is the packet length, the following two are the error code, and then if followed by a long string of ascii data. I seem to lockup when I have sent about a half meg of data. On the CVI side, I get the packet length and request that much. When it returns, I subtract off how much I have read and retry the read until the entire packet has been read. Any idea of how to get around this or what the problem may be?
Thanks,
TZ
03-09-2009 03:28 PM
Hi TZ
I would highly recommend posting this in either a LabVIEW discussion forum or a LabWinwdows/CVI discussion forum.
Also, when you do post on those dfs, make sure to include the error numbers.