LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

examples of tcp/ip

how do i use TCP/IP protocol in LabWindows/cvi without using its callback function?
0 Kudos
Message 1 of 3
(3,725 Views)
Hi Vallabh,

normally its done with datasocket function, but there you have some Callbacks. So I am not really sure what you mean. you also can have a look to that thread.
There is an example of using the datasocket function to download a web page.

so long
Michael
 
0 Kudos
Message 2 of 3
(3,718 Views)


 


@vallabh wrote:
how do i use TCP/IP protocol in LabWindows/cvi without using its callback function?



Well you could just call the Server/ClientTCPRead() and Server/ClientTCPWrite() functions directly - they have a timeout facility in the event of a connection problem, but it seems a bit inefficient. Is there a particular reason you want to avoid the CVI callback mechanism? It really is very easy to use and quite efficient.

JR

0 Kudos
Message 3 of 3
(3,713 Views)