LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with reading a lvm file

Hello.
Using the "lvm write" Express VI I want to write a pair of variates (signal input of the Express VI) and a comment (comment input of the Express VI) to the same lvm file each time I run the VI. Displaying the lvm file in Excel verifies that the VI works properly. Three columns are created and new data is added to the corresponding column each time I run the VI.
In another VI I want to read the saved data with the "lvm read" Express VI. The numeric values are displayed correctly but the comment is not displayed. What mistake has slipped in?
I've attached two VIs, one for writing and one for reading the data. Please run them one after another. Of course they are very very simple but they demonstrate the problem.
Tha
nk you for help!
Download All
0 Kudos
Message 1 of 2
(2,573 Views)
Dear Basa,

your problem is very simple to fix.
Look on the right option box in the express VI to create an LVM file. I mean especially the option "right segment header".
Click on "one header" or "one header per segment".
If you have done it. You will see the header information will show up on your second example.

Hope this helps,

best regards.

SebastianN
NI Germany
Message 2 of 2
(2,573 Views)