10-23-2018 05:48 AM
Hi,
I have a Diadem script which opens text files, does some operations and saves them as tdms data files. However, some of these files end up with an associated log file, which contains the message: -
"TDMS: Warning: Tried to append flags to 'Processed_Data.DateTimeCorr' which is not supported in 'tdms' file format! Flags are ignored!"
I have been unable to find out what this means or why the log file is created. If I manually load the data file, then the log file disappears. The data file itself looks ok.
The channel, 'DateTimeCorr' is a time channel. I am using Diadem 2017
Any help in understanding what is going on would be appreciated.
Thanks!
Thomas
Solved! Go to Solution.
10-23-2018 08:16 AM
In DIAdem there is the ability to set a value of a channel to NOVALUE.
If a channel has NOVALUES in addition to the values a flag is stored in the DIAdem TDM files.
This means Processed_Data.DateTimeCorr has such a NOVALUE in it.
When would you see a difference?
So this logfile entry is just pointing to an effect that normally does not matter.
10-23-2018 08:37 AM
Hi Andreas,
Thanks for the fast response. I found NOVALUES not in the data, but rather in the properties of the 'DateTimeCorr' channel. The max, min channel properties were given as NOVALUES after running the script. Using 'Call ChnCharacter("DateTimeCorr")'
seems to fix the issue .
Thanks!
Thomas
11-27-2018 04:27 PM
Hi mme,
The most likely reason this happens is that you are setting flags in the VIEW panel before saving the data to an external file. The TDM file format will actually save your selected flags as a sidecar invisible channel next to the actual data channel. It's usually a feature when saving to TDMS that you don't get this extra information, which is usually just a really big array full of zeros that you never use again. I usually programmatically delete the log file after saving the TDMS file in cases where it can get created. The log file can also tell you when a load or save operation encounters trouble, so there are cases to keep them around.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-30-2018 10:22 AM
Thanks!