LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wire Description to Write LVM File

I have to give a title to my LVM file. The title is a string .
I am trying to wire the title string to the description input of WriteLVM file express vi. After i write, when i read back using Read LVM FILe Express vi, the description output is blank.
How to give a title string to LVM file and this should be done once. Its OK if the String does not appear in the LVM file when i open in Notepad.
0 Kudos
Message 1 of 2
(2,492 Views)
Hema,

As near as I can tell, you can't programmatically wire in a "Description" input for that VI, but can only specify a description string interactively, while configuring the Express VI. Does your version actually have a description input?

Perhaps you could just use the Comment input to programmatically associated your string with your LVM file? You can certainly retrieve the comment using the Read LVM VI. Comments are intended to be associated with individual segments or chunks saved into the LVM file, but if you're only saving one segment per file, it should serve your purpose just fine.

If you are saving multiple segments per LVM file, how about starting off every comment with your title string followed by some delimiter to mark the beginning of
the actual comment?

This may not satisfy your requirement of only setting the title once, but it would still allow you to work within the context of an LVM file pretty easily.

Hope that helps,
John
0 Kudos
Message 2 of 2
(2,492 Views)