05-25-2007 08:53 AM
05-25-2007 09:13 AM
05-25-2007 09:48 AM - edited 05-25-2007 09:48 AM
It is my experience that if you read a value property of a strict typedef, you are no longer dealing with a typedef. (Maybe that is expected, because you only want the "values"?)
Use local variables of the control instead of value properties to stay with the strict datatype but it should not be necessary.
One giveaway is the coercion dot on the right property node in one case. Why don't you wire the error out of "Unflatten from XML"? Maybe it wants to tell you something useful. 😉
Maybe something is wrong with the XML code. DIsplay the XML string in a text indicator to see what's in it. What is your LabVIEW version?
Still all methods should give you the same result. For example in the following code (Cluster is a strict typedef!), all outputs will show te same values, despite coercion, etc. It also does not matter if I flatten the typedef or the value property to XML. All clusters are the same. The extra level you see when hovering over a strict typedef wire is just for display purpose. It does not indicate a "deeper" cluster.
Message Edited by altenbach on 05-25-2007 07:51 AM