Uploading Files to SharePoint in LabVIEW

Updated Apr 20, 2026

Environment

Software

  • LabVIEW

Other

  • Microsoft SharePoint

When using LabVIEW for data collection, it is commonly required to upload files to SharePoint, read files saved in SharePoint, or write to files located in SharePoint. This article documents how to enable read and write access to your preferred SharePoint site in LabVIEW.

To enable LabVIEW to read and write files in a SharePoint site, complete the following steps:

 

  1. In a browser access SharePoint. Select the Documents section of your preferred SharePoint site.
    • The image below is a SharePoint site called "Data Storage" that will be used for demonstration throughout this article.


 

  1. Select Add Shortcut to OneDrive or Sync to have this SharePoint appear in your local computer with your OneDrive account signed in. 



 

  1. If the following notification appears, it can be dismissed. If the site requests to access your local computer's OneDrive, click Open.



 

  1. The selected folder will be visible within your OneDrive, as shown below:


 

  1. Now, you will be able to read and write data files within this folder using LabVIEW.
    • LabVIEW requires the folder's path, which should be structured as C:\Users\User Name\Company Name\Data Storage - Documents
    • When a file is written, it's contents will be automatically updated in SharePoint.