File I/O VIs and Functions

Use the File I/O VIs and functions located on the Functions»File I/O palette 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.

The high-level file VIs are located on the top row of the palette and the low-level file functions perform one file operation at a time. The most commonly used low-level file functions are located on the second row of the palette. The remaining low-level functions are located on the Advanced subpalette.

Click the icons for VI and function descriptions.

Write To Spreadsheet File Read From Spreadsheet File Write Characters To File Read Characters From File Read Lines From File Binary File VIs Open/Create/Replace File Read File Write File Scan From File Format Into File Close File File Constants Configuration File VIs Build Path Strip Path Advanced File Functions

Build Path Read Lines From File
Close File Scan From File
Format Into File Strip Path
Open/Create/Replace File Write Characters to File
Read Characters From File Write File
Read File Write To Spreadsheet File
Read From Spreadsheet File

Subpalettes

Advanced File Functions Configuration File VIs
Binary File VIs File Constants

Refer to the examples\file directory for examples of using the File I/O VIs.