Reading from Spreadsheet Files
- Updated2026-05-01
- 1 minute(s) read
Use the Read Delimited Spreadsheet VI to read double, integer, or string data from a text-based spreadsheet in LabVIEW.
To read from a spreadsheet file, complete the following steps.
-
Create a relative path to the file from which you want to read data.
- Add the Build Path function to the block diagram.
-
Wire any fixed part of the path to the base path input.
For example, if your application stores spreadsheets in the default data directory for LabVIEW, wire a Default Data Directory constant.
- Wire the filename to read, along with any variable part of the path, to the name or relative path input.
- Add the Read Delimited Spreadsheet VI to the block diagram.
- Select the polymorphic instance of the Read Delimited Spreadsheet VI that corresponds to the type of data to read.
- Wire the appended path output of the Build Path function to the file path input of the Read Delimited Spreadsheet VI.
- Right-click the all rows output and select .
- Run the VI.
LabVIEW returns the data from the spreadsheet file in the all rows indicator.
Related Information
- File Paths
A file path control is a LabVIEW data type that identifies the location of a file on disk. LabVIEW supports three types of file paths: absolute paths, relative paths, and symbolic paths.
- Selecting the Instance of a Polymorphic VI Manually