Select the Open File function on the Functions»File I/O»Advanced File Functions palette and place it on the block diagram.
Create a cluster that matches the data record and wire the cluster to the datalog type input of the Open File function. LabVIEW uses the cluster to verify that the specified file is a datalog file containing records whose type matches datalog type. If they do not match, LabVIEW reports an error when you run the VI.
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 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.
Right-click the data output of the Read File function and select Create»Indicator from the shortcut menu. An indicator appears on the front panel.
Run the VI. LabVIEW displays the data record in the indicator on the front panel.
Refer to the Simple Temp Datalog Reader VI in the examples\file\datalog.llb for an example that reads the temp/date/time cluster datalog file created by the Simple Temp Datalogger VI.