Example Code

Windows - map drive / delete mapped drive 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
The example VIs show how to map and disconnect network drive.


Description
You can use these two VIs map or disconnect network drive in LabVIEW.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

 

1.Write the IP in Resource Control, write domain, user name, user name,password and drive letter in the controls.

2.Run the VI.

 

Additional Information or References
VI Snippet

00.png01.png

**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.