LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add comment in file's properties with "write to spreadsheet"

If the OP is talking about modifying/editing his Excel file's Document Properties, it will require ActiveX.  http://www.cpearson.com/excel/docprop.aspx

 

0 Kudos
Message 11 of 17
(1,527 Views)

In the initial post, I write some information in the header of the text file, into the text file but not
in the metadata. But this is the file for people who are using excel to edit the data.
On the lower part of the screenshot I don't write any comment, I just create a spreadsheet with columns of data.

Into the "file properties" or metadata there is also a part named "comment" just after the date, size, author...

0 Kudos
Message 12 of 17
(1,526 Views)

You can't.

 

As you said, you want to create text files, and text files don't have these properties.

 

Excel files have these properties, but they are built into the binary format of .xls files.  .xls files are NOT text files.

0 Kudos
Message 13 of 17
(1,520 Views)
uhmm, that is bad. There is just one thing that I don't understand. In the Windows explorer with the right-click I can access to the properties of the text file and write some information in the comment text field. So why not in Labview ?
0 Kudos
Message 14 of 17
(1,518 Views)

Hm, i think i now understand.

There is no solution available for LV right away. In fact, it seems to be quite ugly to get a solution.

 

The reason as far as i can see is that this is heavily depending on the used OS. So it could be possible that it works with Win XP, but not in Win 7....

Platform dependencies is the major reason for LV not having such features....

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 15 of 17
(1,516 Views)

Hi Guillaume,

 

the alternative could be LVM. It's nothing we suggest for a general purpose use-case but in your case it could help.

LVM allows to add some meta data on the top of the CSV file

0 Kudos
Message 16 of 17
(1,514 Views)
@Norbert: That's true, I tried on my laptop and the comment field does not exist. It's only with XP files properties unfortunately. @Stefan.R: I tried with LVM but it create a csv file with too many information. I just need the values, if there is some text the program won't to run the file.
0 Kudos
Message 17 of 17
(1,508 Views)