File I/O
- Updated2025-03-14
- 4 minute(s) read
File I/O
Use the File I/O VIs and functions to open and close files, read from and write to files, create directories and files you specify in the path control, retrieve directory information, and write strings, numbers, arrays, and clusters to files.
Use the VIs and functions on this palette to perform common I/O operations and other types of file I/O operations. You can read or write various types of data, such as characters or lines in text files, numeric values in spreadsheet text files, or data in binary files.
The File I/O palette and the Advanced File palette include functions to control each file I/O operation individually. Use these functions to create or open a file, read data from or write data to the file, and close the file. You also can use the functions to create directories; move, copy, or delete files; list directory contents; change file characteristics; or manipulate paths.

Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Arrays\Array to Spreadsheet String.vi