LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Server / Python Client

Hi,

 

Has anyone ever written non Labwindows clients that connect to LabWindows TCP Servers?  I didn't find any previous posts regarding this. 

 

The server application (TCP Server created using the LabWindows library) already exists.

 

I need to create a new Python client that connects to this server.  It's preferable to not have to rewrite the LabWindows server application that I have.  

 

Can anyone help me out?  Is there any documentation out there that could help? Or would I have to start reverse engineering the library calls...

 

Thanks in advance,

 

-Eddie

Message 1 of 3
(3,084 Views)

Hi,

 

Have you tried writing a simple TCP Python client and see if you can read from the address being used by the server? TCP/UDP communication is not proprietary to NI and there should be ways to do it. However, this is not officially supported. This does not mean that it is not possible, only that it may take a little more work.

 

Regards,

Daniel G.
Semiconductor & Wireless
National Instruments
Message 2 of 3
(3,056 Views)

Thanks, will try it out.

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