Example Programs

Programmatically Find IP & MAC Address of Devices on Network Using LabVIEW

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

Overview

This VI uses the System Configuration API to query MAX for the Hostname, IP address, and MAC address of each relevant item on your network.

 
Description

This VI returns the data as an array of the Hostname, IP address, and MAC address.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run the VI.
  2. See the Hostname, IP address, and MAC address of each relevant network item on the front panel.

Additional Information or References
VI Snippet

005.png

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

Fred Visser -- SystemLink R&D -- National Instruments

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

Comments
Member wsaall
Member

I have LV 2009, how I can use it?

Could you please show the VI's name so I can search for it.