LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to create a virtual TCP port and send data to it?

Is it possible to create a virtual TCP port and send data to it?

My application is this:   I am reading a constant stream of waveform data from a device via a LabVIEW VI set and I need to get that streaming data to a .NET application.  I can poll a TCP port in .NET easily so is there a way I can create a virtual TCP port in LabVIEW and send the data there?
0 Kudos
Message 1 of 5
(4,037 Views)
If you go under function/data communication/protocols/TCP you should be able to find what you are looking for.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 5
(4,036 Views)
I see in there a number of functions...does TCP Open Connection create a virtual TCP port?
0 Kudos
Message 3 of 5
(4,034 Views)
Have a look at the example called simple data server and simple data client and see what you can get from that. I'm not really familiar with TCP myself.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 5
(4,029 Views)
There's nothing virtual about it. All you have to do is create a TCP connection to 127.0.0.1 on whatever port you want. It's a real connection, it will just loop back and not go out to the network. The example Joe is talking about will show you how to do it in LabVIEW, you'll just have to make either your LV program or your .NET program the server and the other the client.
0 Kudos
Message 5 of 5
(4,023 Views)