 epik78
		
			epik78
		
		
		
		
		
		
		
		
	
			02-24-2009 07:41 AM
Hello,
I created an lvm using the Write to Measurement File express vi and I added a comment.
To simplify it the line of the lvm created was:
5 test
where 5 is a random value and test the comment I input.
My question is how can I read this comment.
When I use the Read Measurement File express vi, the comment output
returns empty.
Thank you.
Solved! Go to Solution.
02-25-2009 03:17 PM - edited 02-25-2009 03:18 PM
Hi epik78,
I am not sure how you are adding your comment to the file, but when I made the simple VI below, I was able to see the comment that I input to the .lvm file in the comment indicator of the Read From Measurement File.
 
Regards,
Stephen S.
02-25-2009 03:47 PM
Thank you for your reply.
I tried your way but still nothing.
Ive attached a vi that does not do it for me.
Can you check it?
Thank you.
02-26-2009 03:59 PM
Hey epik78
When I ran your code I got the same performance your described. Try selecting either "One header only" or "One header per segment" under the Segment Headers section of the Configure Write to Measurement File window and you should be able to retrieve that comment when you read from that file.
Hope this helps.
-Ben
Applications Engineering
National Instruments
02-26-2009 04:06 PM
You are right,it works if you include a header.
Too bad I cant have the files I want to create with a header.
Thanks for the help.