Example Code

Programmatically Enumerate Network Items 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 Real-Time Module
  • LabVIEW

Code and Documents

Attachment

Description

1. Overview

This VI will allow you to programmatically browse for deployed libraries and variables on remote machines on the network.

 

2. Description

Using library calls to a LabVIEW DLL, the example VI searches the network for items (devices and shared variables).

NOTE: You will not be able to use this VI to modify the libraries or variables.

 

3. Requirements

  • NI LabVIEW Base Development System 2012 (or compatible).
  • The LabVIEW Real-Time and DSC Modules offer additional configuration and programming options for shared variables

 

4. Steps to Implement or Execute Code

  1. Download and open the example VI.
  2. Select a Browse Path (leave as \\ to search all the network).
  3. Run the VI.

 

5. Additional Information or References

 

6. Credits

Jared Boothe
Staff Hardware Engineer
National Instruments

 

Enumerate Network Items Screenshot.PNG

 

**The code for this example has been edited to meet the new Community Example Style Guidelines.**

Regards,

Jared Boothe
Staff Hardware Engineer
National Instruments

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

Comments
Todd S.
NI Employee (retired)
on

didn't see an attachment on this one.  Did it get dropped when you published?

Todd S.
LabVIEW Community Manager
National Instruments
Jared_B
Member
Member
on

Oops!  The first time I submitted this one an error happened, so I had to re-submit with a different name (original document is in limbo).  I must have forgotten to attach the VI.  Sorry about that!

Regards,

Jared Boothe
Staff Hardware Engineer
National Instruments