Read From Measurement File
- Updated2025-07-30
- 5 minute(s) read
Reads data from a text-based measurement file (.lvm) or binary measurement file (.tdm or .tdms).

Dialog Box Options
| Option | Description |
|---|---|
| Filename | Displays the full path to the file from which you want to read data. The Express VI reads data from the file that this parameter specifies only if the Filename input is unwired. If you wire the Filename input, the VI reads data from the file that this input specifies instead. |
| File Format | Contains the following options:
|
| Action | Contains the following option:
|
| Segment Size | Contains the following options:
|
| Time Stamps | Contains the following options:
Note These options are available only when you select the Text (LVM) option from the File Format section.
|
| Generic Text File | Contains the following options:
Note These options are available only when you select the Text (LVM) option from the File Format section.
|
| Delimiter | Contains the following options:
Note These options are available only when you select the Text (LVM) option from the File Format section.
|
| Decimal Point | Contains the following options:
Note These options are available only when you select the Text (LVM) option from the File Format section.
|
Inputs/Outputs
Enable
—
Enables or disables the Express VI. The default is ON or TRUE.
error in (no error)
—
Describes error conditions that occur before this node runs.
Filename
—
Specifies the name of the file from which you want to read data.
Reset
—
Resets the file position such that the next read starts at the beginning of the file.
Signals
—
Contains the output signal or signals.
Filename Out
—
Returns the name of the file.
Comment
—
Returns the appended comment of each data set in the .lvm or .tdm file.
error out
—
Contains error information. This output provides standard error out functionality.
Description
—
Returns the description in the header of the .lvm or .tdm file.
EOF?
—
Returns TRUE when the Express VI reaches the end of the file. |
You also can use this VI to read Multisim data if you have Multisim 9.0 or later installed. Use the Write To Measurement File Express VI to write data to a measurement file. You also can use the Storage/DataPlugin VIs to read from and write to .tdm files.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\File IO\TDMS\Express Read and Write\TDMS Express Read Data (Time Domain).vi
Enable
—
error in (no error)
—
Filename
—
Signals
—
Filename Out
—
Comment
—
error out
—
EOF?
—