Select the Open File function on the Functions»File I/O»Advanced File Functions palette and place it on the block diagram.
Right-click the file path input of the Open File function and select Create»Constant from the shortcut menu. An empty path constant appears.
Enter the path to the file from which you want to read in the file path constant.
Select the Read File function on the Functions»File I/O palette and place it on the block diagram.
Wire the refnum output of the Open File function to the refnum input of the Read File function.
Select a numeric constant on the Functions»Numeric palette and place it on the block diagram.
Wire the numeric constant to the byte stream type input of the Read File function.
Enter 0.0 into the numeric constant. This value informs LabVIEW that the data type is a double-precision floating-point number.
Right-click the data output of the Read File function and select Create»Indicator from the shortcut menu.
Select the Close File function on the Functions»File I/O palette and place it on the block diagram.
Wire the dup refnum output of the Read File function to the refnum input of the Close File function.
Run the VI. LabVIEW returns the value to the front panel.
Refer to the Read Binary File VI in the examples\file\smplfile.llb for an example of how the Read Binary File opens and reads an existing file stored as a double-precision array in binary form.