LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to poll an open tcp/ip port?

Is there a way to find out, if there are data on an open tcp/ip port without reading them? And when, what can I do or where can I find an example? I'm using LV 7.
0 Kudos
Message 1 of 2
(2,942 Views)
codas wrote:

> Is there a way to find out, if there are data on an open tcp/ip port
> without reading them? And when, what can I do or where can I find an
> example? I'm using LV 7.

No, this possibility does not really exist with the TCP/IP icons.

Or wait a minute, maybe if you would use VISA to open a resource
"TCPIP::::::SOCKET", the VISA functions
probably work similar on that resource as they do on serial port and
GPIB and might give you an indication of the bytes in the buffer through
the appropriate property node.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 2
(2,942 Views)