ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LAN detection

Solved!
Go to solution

HI all,

 

i have  aproblem with an Ethernet Interface Module.

 

the module is getting supply voltage from a common powersuppy (24v).

By emergency stop, the module is switched off and the LAN is disconnected. but the vi is still running.

 

Is there any funtion to detect a LAN connection (if the module is switched on again)?

 

or

 

is it enough to use the 'TCP Open connection' to  wait till a connection is established?

 

any help will be appreciated.

 

RENN

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 1 of 3
(3,310 Views)
Solution
Accepted by RENN
You can try to use ping. However, as I noted in this message, ping operates differently based on the OS. In that message I showed simply using TCP Open Connection.
Message 2 of 3
(3,279 Views)

thanks  a lot smercurio fc... it works!

 

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 3 of 3
(3,244 Views)