09-27-2011 09:46 AM - edited 09-27-2011 09:48 AM
Why is it not possible to write a string that contains null characters (\00) in a TDMS property?
(this limitation is documented in the help)
I've just spent half a day to spot the issue and now I found a work around, but I'd like to know why such a limitation 😮
Anyone knows?
Edit :
Side question, if you do try to write a property string that contains a null strin char, should you receive an error, or a warning, or nothing?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
Solved! Go to Solution.
09-28-2011 03:31 AM
Hello,
the null character (\00) is a standard way of marking the end of a string. If you put a null character in the middle of a string, many programs will consider the string finished as soon as the character is reached and ignore the rest of the string.
Because of this behaviour, it isn't an error and so shouldn't throw any errors if you try to do it.
Best regards,
Joseph Tagg
09-29-2011 02:02 AM
Right, that answers my question.
Thanks Joseph!
I'll start a new thread to discuss more general issues I have with TDMS properties.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus