Example Code

Ping IP Address

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview

Demonstrates how to get the IP Ping status on network.


Description

This VI demonstrates how to get the IP Ping status on network.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Type the IP Address.
  2. Run the VI to get status

 

 

Additional Information or References
VI Block Diagram

 

 1.png

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 



 

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
aaronb
Member
Member
on

Anyone know why I would get an exception when using the .NET ping method when the srever is not found? I would think that the intent is just to return a "DestinationHostUnreacheable" from the status not throw an exception/error. I also get random timeouts if the timeout setting is anything under 1000.

pingerror.png