To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example VI demonstrates how to access command prompt and ping IP address with LabVIEW.
Description
You can check whether specific IP address within your subnet is used or not by command prompt. This can be implemented in LabVIEW by using “System Exec.vi”. In this example VI, every time PING IP button is pressed, “Pinging IP” is executed in command prompt. This example shows how to use command prompt in LabVIEW, which can be applied in many ways such as executing other files.
Requirements
・LabVIEW Base Development System 2012 (or compatible)
Steps to Implement or Execute Code
Additional Information or References
VI Front Panel
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.