LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change TCP Packet size

Hello,
 
I'm using "TCP Write" in a while Loop to send a message of 19 bytes each 10ms.
However the TCP messages are sent in a batches of 418 bytes (22 messages) each 220ms.
I know it because I using wireshark  for debuging.
How do I tell Labview to send each TCP message alone and NOT accumulate 22 messages togather.
 
Thanks,
 
-Uri
0 Kudos
Message 1 of 2
(2,789 Views)
Hello,
 
I found 2 answers:
1. Using VISA instead of TCP. In VISA the NoDelay property of the winsocket is TRUE by default.
2. Using the TCP and changing the NoDelay Propery by Document ID: 2ZAH5EEG:
http://digital.ni.com/public.nsf/allkb/7EFCA5D83B59DFDC86256D60007F5839
 
- Uri
Message 2 of 2
(2,760 Views)