LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Send Command to instrument using TCP/server

Hello All;

I make a Dll to remote control an instrument.

Know i wanna make server application that communicates with client and make the remote control to the instrument

1-I add the .lib and the Dll to the server application.

2-I can open TCP connection to the server.

The problem now is : 

                                 -If i'm correct i have to send command from the client to the server to use the instrument using TCP                                             write, but nothing happen

                                  -Could some one give me an exapmle?

 

Thanks a lot.

0 Kudos
Message 1 of 2
(2,238 Views)

Hey xmouth,

 

If I'm understanding correctly, your server has the DLL on it that controls the device, and you want the client to be able to send the server commands to collect data?

 

In that case, go to Find Examples in CVI, and find Networking >> TCP & UDP >> client.cws/server.cws. These two projects can be run together to demonstrate basic TCP communication that you can use as a starting point for your application.

 

Cheers,

Ryan C.

0 Kudos
Message 2 of 2
(2,202 Views)