LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to test if a PC is on TCP/IP in LV ?

How to check if a PC is on the network, like with a ping in LV ?
0 Kudos
Message 1 of 2
(2,579 Views)
In article <3e81c490$0$29146$626a54ce@news.free.fr>, "trallala"
wrote:

> How to check if a PC is on the network, like with a ping in LV ?
>
>
Hi Trallala,

Go to the Hamilton Design's download site:
http://hamiltondesign-consulting.com/labuseful.html

He made a VI called 'Improved Ping'. Out of the box it only works on
Windows because it uses the System Exec.vi to call ping. It was also
saved as LV6.1.

If you want to use some of the native TCP commands the best you can do is
open and close a connection to an address using a known open port. Make
sure to change the timeout from 60000ms to something a lot smaller.

Good luck,
-Kevin
0 Kudos
Message 2 of 2
(2,579 Views)