08-20-2020 06:36 AM
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
08-21-2020 05:18 PM
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