07-16-2010 09:21 AM
I am working in Labview 2009 and DIADEM 11.1
I created a VI that write propertie in a TDMS file with labview with a property name with a space in the name.
I created a VI that read the same propertie. It is working find (With space in labview.tdms)
If I open the tdms file in DIADEM and modify the value property and save the file. (With space in diadem.tdms)
When I use the same read propertie, there is no error message but the found boolen value dont find the properti.
Thanks!
I can not joint the TDMS file
07-16-2010 09:22 AM
The .jpg file that I send is a tdms file
07-16-2010 09:23 AM
Here the file that it is working
07-19-2010 11:02 AM
Hi cynt,
Both the DataFinder and DIAdem impose restrictions on property names, so that only letters, the numbers 0-9, and the underline (_) character are allowed. All other characters, including spaces, are automatically coerced to the underline character (_) whenever the property is indexed by the DataFinder or loaded into DIAdem. If you load a TDMS file with a "Property Name" property, DIAdem will automatically convert it to a "Property_Name" property. If you then save the TDMS file with DIAdem, you will have the "Property_Name" property in the TDMS file on disk, and that could cause problems if your reader VI is looking for the "Property Name" property.
The simplest solution is to adhere to the DataFinder and DIAdem property name restrictions in all your LabVIEW code. There is no way to change this behavior in the DataFinder and DIAdem, so you will have to work around it. You could alternatively make your reader VI more robust to look for either "Property Name" or "Property_Name".
Brad Turpin
DIAdem Product Support Engineer
National Instruments