LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Tcp Callback function is not respond fast

When I use LabWindow/CVI as TCP client to connecto to a DOS based server. It seens to take sometime for the TCP callback function to activate when a message is sent from the server (1 - 2 seconds). My message length is very short (10 - 30 bytes). Is there anyway to speed it up?

Thank you in advance.

C Zhang
0 Kudos
Message 1 of 3
(3,023 Views)
There shouldn't be a lag anything close to this size with TCP events. Are you sure your DOS server is working properly and also are you sure you are not doing something in the client program to prevent event processing? Try running our TCP client and TCP server examples and see how fast the event response is. I haven't done any TCP under DOS so maybe there are issues on the DOS server side.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 3
(3,023 Views)
Thank for the help.

The problem is on the server side. It is waiting for transmit buffer full or timeout.

Using the sample program to test is a great help.

Thank again.

Chun Zhang
Optical Fiber Solutions
0 Kudos
Message 3 of 3
(3,023 Views)