Try the attached example.
You will need to provide a filename before running the VI.
And it will only work with lvm files. I forgot to ask what type of measurement files you were saving. (lvm, tdms, etc?)
The WriteToMeasurementFile.vi replaces the express vi.