File I/O
- 已更新2026-05-01
- 閱讀時間為 2 分鐘
File I/O operations transfer data between LabVIEW and files for reading, writing, and managing file content.
File I/O operations pass data to and from files. Use the VIs and functions on the File I/O palette to handle all aspects of file I/O, including the following:
- Opening and closing data files.
- Reading data from and writing data to files.
- Reading from and writing to spreadsheet-formatted files.
- Moving and renaming files and directories.
- Changing file characteristics.
- Creating, modifying, and reading a configuration file.
You can open, read or write, and close a file using a single VI or function. You also can use a function to control each step in the process.
Refer to the labview\examples\File IO directory for examples of file I/O operations.