Uploading Files to SharePoint in LabVIEW

Updated Dec 22, 2025

Environment

Software

  • LabVIEW

Uploading data file to SharePoint, reading data file saved in SharePoint and writing data file located in SharePoint are some common requirements when users are using LabVIEW to perform data collection. This article will guide you on how to enable your LabVIEW to have read and write access to your preferred SharePoint site.

To enable LabVIEW to read and write file into SharePoint site, following steps must be completed:

  1. In the browser, visit 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.
  2. Select Add Shortcut to OneDrive or Sync to have this SharePoint appear in your local computer with your OneDrive account signed in. 

  3. You will then be shown the following notification. Feel free to dismiss it. The site might try to access your local computer's OneDrive. Kindly click Open if it appears.

  4. You will then be able to see the Document folder within your OneDrive, such as the following:
  5. Now, you will be able to read and write data files into this file as usual in LabVIEW by using its path, such as follows. It will automatically be updated in SharePoint.
    C:\Users\User Name\Company Name\Data Storage - Documents