LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ping from RT Target

Solved!
Go to solution

Hi!

I've an application running on a RT Target that needs to perform periodic checks on devices that should be connected on the target subnet.

 

Is it possibile to perform a ping from a RT Target?

 

thanks in advance for any suggestion,

 

Marco

0 Kudos
Message 1 of 4
(2,993 Views)

Yes its pretty simple try the attached VI.

 

TCP-IP_Ping1.png

 

TCP-IP_Ping2.png

 

Good luck.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 4
(2,987 Views)

Thanks for your reply!

 

Strictly speaking what you propose is not a true ping, that is based on Internet Control Message Protocol (ICMP).

 

Anyhow should be equivalent most of the times.

 

I've also found a similar approach using UDP ping (not specifically for Labview): http://www.networkuptime.com/nmap/page4-6.shtml

 

Regards,

Marco

 

 

0 Kudos
Message 3 of 4
(2,970 Views)
Solution
Accepted by topic author MarcoMauri

Hi!

I've just realized that the same problem was posted here: http://forums.ni.com/t5/LabVIEW/How-to-Ping-a-network-device-from-RT-controller/td-p/1535420

 

the solution proposed by BlueCheese seems to work for me.

 

Regards,

Marco

0 Kudos
Message 4 of 4
(2,952 Views)