Pinging from ignition

any ideas on this? I found some earlier posts but it seemed like fpmi had a add in specifically for this. Does something similar exist like this for ignition?

Did you see this topic?

Kyle Chase 's option seems like what I want to do but I am not sure how to display the results. can anyone help with that?

What information do you need? To print the actual text, the same as it would be output from the console, use the following

[code]
success = 0
out = app.run.execute(“ping www.google.com -n 1”)

for row in out[0]:
print row //prints the row the same as the output from the console
if row.rfind("Received = ")!=-1:
row = row[row.find(“Received = “)+11:]
success = int(row[:row.find(”,”)])

print success //prints the number of valid pings[/code]

Finally got around to playing with this and it works great except for one thing! Our network has alot of users logging in from the internet, so they are not able to ping devices that are on our internal network. Of course if I VPN into the network it works. Is there any way to possibly have the ping function run from the gateway side and pass the results to the client?

You could try using a Gateway Script to run this code and stick the results into a DBTag. This means it will only run from one place (the computer with Ignition installed on it) and every client can access the results.