Selecting a File for Reading and Writing

Complete the following steps to select a file for reading or writing.

  1. Select the Open/Create/Replace File VI on the Functions»File I/O palette and place it on the block diagram.
  2. Right-click the function terminal and select Create»Constant from the shortcut menu. Use the Operating tool to select one of the constant values.
  3. Run the VI. A dialog box appears according to the option you selected in step 2.