# Creating a Visual Feedback Dashboard that Executes a Ping Script Continuously

**URL:** <https://forum.inductiveautomation.com/t/creating-a-visual-feedback-dashboard-that-executes-a-ping-script-continuously/65864>\
**Category:** Ignition\
**Tags:** scripting, perspective\
**Created:** [October 31, 2022, 9:46am UTC](https://forum.inductiveautomation.com/t/creating-a-visual-feedback-dashboard-that-executes-a-ping-script-continuously/65864 "2022-10-31T09:46:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [October 31, 2022, 12:39pm UTC](https://forum.inductiveautomation.com/t/creating-a-visual-feedback-dashboard-that-executes-a-ping-script-continuously/65864/3 "2022-10-31T12:39:38Z")

</div>

Also instead of shelling out check out this classic Ignition answer using java built-ins to ping -

> [@Script to ping computer](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612/10):
>
> Shelling out for this makes me feel very icky, especially when Java already has the native ability to do this and that’s an invitation to accidentally send horrible things to the command line. Why not just: def ping(address,timeout=2000): from java.net import InetAddress ip = InetAddress.getByName(address) return ip.isReachable(timeout) This will throw UnknownHostException if the host can’t be looked up, or IOException if the network is broken, so you can handle that case as well, instead o…

---

_[View the full topic](https://forum.inductiveautomation.com/t/creating-a-visual-feedback-dashboard-that-executes-a-ping-script-continuously/65864)._
