Hi Mona
In my project the test requirements often extend. That means that a new protocol contains more properties than an older one. If the program loads an old protocol it tries to read nonexistent properties.
There is an image attached showing how I read a property. The value returned when the property does not exist should be the default value of the data type (0 for numeric, empty string, ...). But for me the main problem is that the output Found is true instead of false sometimes.
Since I do not call the VI TDMS Read Property when the parent of the property does not exist, the error does not occur any more. I check the existence of the parent channel or group by seeking its name in the array returned by the VI TDMS List Content. I assume this is time consuming, but this is acceptable for my program. I look forward to hear better solutions of course.
I did not manage to create an example which shows my problem, sorry. TDMS Read Property always works correctly except in my real program. I suppose the program must exceed a certain size or any VI must be present or called several times.
Thanks
shb