Jump to content
Sign in to follow this  
James McAnanama

Ping with Labview

Recommended Posts

If they have any ports open, then you can attempt to open a TCP connection to that computer and that port. If it doesn't timeout/crapout then the PC is running. As far as it's status, that's another issue all together

Share this post


Link to post
Share on other sites

There is a ping VI in the NI knowledge base somewhere. I also have one contributed by a generous sole.

However, can a small app be written for each of the key machines that sends a message every N seconds. If your monitor PC does not receive that message every N + a little bit, seconds, then the PC is dead or off the network. Sort of like a watchdog. You could use TCPIP or datasocket for a quicker implementation. As for the message, I'd get it to send it's IP address.

Share this post


Link to post
Share on other sites

I like the watchdog approach. However, some of the devices I am looking at are SBCs that are streaming data to another application, and they don't support multiple connections.

Thanks for reference to the NI Knowledge base. I guess I am stuck with sytem exec. This is fine - I am just surprised that LV doesn't have built in support for Ping.

Cheers,

James

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.