LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Query property names from TDM file

Solved!
Go to solution

I am using TDM files to save data from a test.  In the File level, I am inserting a number of custom property tags (using the Set Property.vi in the File I/O -> Storage -> Advanced Storage pallet).

 

Is there a way to query the names of these properties after the file has been written?  For example, if I put in a custom property "TestLocation", is there a way I can find out the name of this property later, so I can read the value out?

 

 

JoeG

Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com
0 Kudos
Message 1 of 6
(3,456 Views)

List Properties in the Advanced Storage menu.

 

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 6
(3,450 Views)

Thanks, Ton.

 

However, this only lists the default properties for the Object Type.  E.g., for the File Level, the only properties that are listed are Name, Description, Title, Author, DateTime, ChannelGroups, RegisterTxt1, RegisterTxt2 and RegisterTxt3.  If I have custom properties that I have implemented, such as TestLocation, these are NOT listed.

 

Do you know a way to list the custom properties?

Message Edited by Joe Gerhardstein on 01-07-2009 02:59 PM
Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com
0 Kudos
Message 3 of 6
(3,445 Views)
Solution
Accepted by topic author Joe_Gerhardstein

Hi Joe,

 

Please try the attached VI for custom properties names.

 

Best Regards,

Mavis

Message 4 of 6
(3,422 Views)

Thanks Mavis.  That works.

 

Out of curiosity, is this documented somewhere, or insider knowledge?

 

 

Joe 

Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com
0 Kudos
Message 5 of 6
(3,401 Views)
Joe, I don't think it's been documented, unfortunately......Smiley Sad
Message 6 of 6
(3,370 Views)