LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to File with Time Stamp for LVM

Hello,

 

I am relatively new to LabVIEW and thus would really appreciate your assistance/patience. I am trying to do something that seems to be very simple but I have not found a solution that has worked in manuals and online. I want to write to a LVM file in two columns one with a time stamp and one with data. I am using the express VI for Write to File. Is there a simple way to do this? 

Download All
0 Kudos
Message 1 of 4
(2,226 Views)

Turn your tunnel into concatenating mode so it creates a 1-D array instead of a 2-D array.

 

How long will this VI run?  You don't want to continually build an array at a loop boundary eating up all your memory if it runs a long time.

0 Kudos
Message 2 of 4
(2,223 Views)

What's an LVM file?

 

I find it a lot more useful to save data in a "standard" format like CSV or better yet a tab delimited text file.

 

Both of these types can then be easily opened in Excel for data analysis.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 4
(2,215 Views)

A LabVIEW Measurement File (LVM) is a text based file. The specifications for the file are here.

 

Specification for the LabVIEW Measurement File (.lvm)

 

From <http://www.ni.com/tutorial/4139/en/>

 

All the separate file formats have their strengths, for Excel viewing, the .xlsx file works well too.

Anthony M.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,151 Views)