DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Change read/write rights on group custom properties

Hi

 

We have some TDMS files with custom properties on group level. Right now everybody can change them and potentially "corrupt" the measurement results

 

If I use this I get False as expected

msgbox(Data.Root.ChannelGroups("OSPL90 - Curve").Channels("Frequency").IsReadOnly)

 

Is there a way I can change the properties so they are read only and the above function will return True?

 

Thank you in advance

Soren

0 Kudos
Message 1 of 2
(1,280 Views)

Hi Soren,

 

I'm afraid we have very little to offer you.  Both the TDM and TDMS file formats have no concept of a read-only property, so whatever is saved to disk can be changed by anybody.

 

Within DIAdem, some properties are in the read-only state because they are tightly managed by DIAdem-- these properties can not be changed while the data is in the Data Portal, but again as soon as you save the data to file, you could change even those "read-only" properties.

 

One option to consider, if you control the data loading into DIAdem, is to "register-load" the data file into the Data Portal.  Any data register-loaded will automatically have all its values and properties loaded in the read-only state.

 

Brad Turpin

Principal Technical Support Engineer

National Instruments

0 Kudos
Message 2 of 2
(1,237 Views)