LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI client command line example

I am developing an application that uses TCP to talk to a server.

 

I found the client.prj in the CVI examples and got it working with my server.

But this project has a GUI and I need just a command line version.

 

I created a command line project and extracted the TCP code from the GUI example.

This new app connects to the server, Then I send my GET header information useing ClientTCPWrite.

The server receives what the client sent.

I server sends back the requested information BUT the client callback function that I passed in the ConnectToTCPServer function call is never runs.

 

Since I am not using a GUI this becomes a single threaded application is this a problem?

 

Is there a CLI example of a TCP client in CVI or any suggestions?

 

0 Kudos
Message 1 of 1
(3,111 Views)