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:
- Open the attached "Windows Mount Drive.vi"
- In the block diagram, change the listed parameters as they apply to your machine
- Run the VI
To execute this example:
- Install the required software.
- Open the VI and refer the Implement Steps
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-
**This document has been updated to meet the current required format for the NI Code Exchange.**
Joe Daily
National Instruments
Applications Engineer
may the G be with you ....