To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Programmatically mount a remote SMB (Windows) share as a disk drive through LabVIEW.
Description:
This example uses the "System Exec.vi" to execute a system-level command line. In this case, it executes the command to mount a remote SMB (Windows) share as a disk drive, assuming the following parameters:
Windows Domain: DOMAIN
Windows Username: USER
Windows Password: PASSWORD
File Server IP: 127.0.0.1
File Server Share: STORAGE
Desired Mount Point: Z:
Instructions:
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-
**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.