NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Ben_Engelen
Posts: 26
0 Kudos
Accepted Solution

Properties in TDMS file not visible in Diadem

Hi,

 

I'am using Diadem 2011 to read a tdms file created in LabVIEW 2011.

In diadem i cannot see the properties (file, group or channel) i added myself to the tdms file, in LabVIEW withe the TDMS file reader they are visible.

 

Attached (in the zip), the TDMS file and an word doc with some screenshots.

 

Somebody knows what i'm doing wrong?

 

thx

 

Ben Engelen

Active Participant
AndreasK
Posts: 200

Re: Properties in TDMS file not visible in Diadem

[ Edited ]

Hello Ben,

 

the properties are loaded but not all properties are displayed in the Properties node in the tree control automatically. The context menu offers the ability to display properties in the tree.

But if you klick on the main root/group/channel node in the tree the properties are displayed in the window right bottom. There you will see your properties.

 

But in the DIAdem/DataFinder naming conventions following happens.

If you use one of the following characters in a custom property name, DIAdem replaces this character with an underscore: ., :, ,, ;, ', \, @, <, >, #, [, ], %, (, ), {, }, |, *, ?, =, !, ", ^, $, &, +, -, /, and a space.

 

So if you do not want to run into this you should rename the properties

 

Greetings

Andreas



 

Member
Posts: 106
0 Kudos

Re: Properties in TDMS file not visible in Diadem

Andreas -

 

The VIs posted here insert a '.' character into the names of array element properties, and it seems to work fine in LV 2011.1. The TDMS API does not replace that character with an underscore. Does that mean it shouldn't be in the list you gave?

Trusted Enthusiast
rolfk
Posts: 4,079

Re: Properties in TDMS file not visible in Diadem

[ Edited ]

The LabVIEW TDMS API is not very picky, but Diadem is. If you read in Diadem a file containing any of these characters in property names and save it back to disk, all these characters will be replaced with an underscore. As long as you do not intend to read and modify your TDMS files in Diadem you should be safe.

Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

LabVIEW Champion
Member
Posts: 106
0 Kudos

Re: Properties in TDMS file not visible in Diadem

Got it. Thanks!

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page