GUIDE

How to open and plot LVM files

An .lvm file is a text file created by Write To Measurement File in LabVIEW. Because it is text, Notepad can open it, but the description lines at the top make it awkward to plot as it is. Here is what the file contains and how to open it.

Updated: 2026-11-13

What is an LVM file?

LVM (LabVIEW Measurement File) stores measured values as tab-delimited (or comma-delimited) text. The file starts with a header that states the separator, the decimal separator, the recording date and time and more. After that come segment headers with the number of channels, units and sampling interval, followed by the rows of values.

Write To Measurement File can also save binary TDMS files. For TDMS, see How to open and plot TDMS files.

What the file contains

Header fieldMeaning
SeparatorThe delimiter (Tab or Comma)
Decimal_SeparatorThe decimal separator (. or ,)
X_ColumnsHow X (time) columns are stored: No = none, One = one column first, Multi = one column per channel
Time_PrefHow X time values are expressed: Relative = seconds from the start of the recording, Absolute = seconds since 1 January 1904
Date, TimeRecording date and time
Channels, SamplesNumber of channels and number of points written at a time
Y_Unit_LabelUnit of each channel
X0, Delta_XStart of X and the interval between values (seconds)

The header ends with a line that reads ***End_of_Header***. The next line holds the column headings (X_Value and the channel names) and the values follow. In a file appended to during a measurement, this pair of segment header and values repeats.

Ways to open LVM files

MethodWhat it isKeep in mind
Notepad or another text editorShows the content as it isCannot plot it
ExcelOpens it as tab-delimited textThe header lines sit above the values. The worksheet limit of 1,048,576 rows applies, and files with repeated segments have header lines in the middle
LabVIEWRead From Measurement File reads itRequires LabVIEW
LOGADECTime-series viewing and analysis software with no installation. It reads the header and uses the channel names, units, sampling interval and recording date and timeThe comment column is not read

Opening an LVM file in LOGADEC

  1. Start it from Try it in your browser, or download the free version and open the extracted HTML file in Google Chrome or Microsoft Edge.
  2. Click CSV/Excel and choose the .lvm file.
  3. Each channel appears as a column with its name and unit. In a file with X columns the first column becomes the X axis; otherwise X is built from Delta_X in the header.
  4. Select the channels you want, click [Import], then click [Select all] in the [Series] tab.

A file with two or more segments is joined in order into one continuous data set. Files with a decimal comma (saved on a PC with German or similar regional settings) are read as stated in the header.

See Loading Data in the user manual for details.

What you can do after loading

  • Frequency analysis: FFT, STFT and wavelets (Frequency Analysis).
  • Filters and anomaly detection: low-pass and notch filters, outlier and change point detection (Time-Domain Analysis).
  • Export to CSV or Excel: [Export data] writes a clean table without the header lines.
  • Batch import: [Folder] imports all .lvm files in a folder at once.
Q

FAQ

FAQ
Can I open LVM files without LabVIEW?

Yes. An LVM file is text, and LOGADEC opens it on its own; no NI software needs to be installed.

Can I convert LVM to CSV?

Yes. After loading the file in LOGADEC, use [Export data] to export to CSV, TSV or Excel. The header lines are not included.

Can it read LVM files with a decimal comma?

Yes. The file is read according to Decimal_Separator in its header.

What is the difference between LVM and TDMS?

LVM is text and TDMS is binary. You can look inside an LVM file with Notepad, but it is larger and slower to read and write. TDMS suits measurements with many points.

+

More guides

GUIDES

How to open CSV files too large for Excel

Open and plot CSV files that Excel cuts off at its row limit, without splitting them.

How to plot a CSV file as a graph (free, no installation)

Turn measurement and logger CSV files into time-axis graphs, and avoid the usual pitfalls.

How to open and plot TDMS files

Open TDMS files from LabVIEW and NI instruments, then plot, analyze or export them to CSV.

What is a TDMS file? The format explained

What is inside a TDMS file (segments, groups, channels, properties) and how it differs from CSV and TDM.

How to run an FFT on CSV data

Find the frequency components of vibration, noise and current waveforms in CSV files with an FFT.

How to find outliers and change points in time-series data

Find spikes (outliers) and steps (change points) in long logs with a numeric criterion.

How to plot WAV file waveforms

Plot the waveforms in WAV files from vibration and sound recorders on a time axis, then run FFT and other analyses.

How to open and plot COMTRADE files

Open COMTRADE records (.cfg and .dat) from protective relays and fault recorders, then plot and analyze the waveforms.

Try it with your own data, right now.