01-13-2006 05:02 PM
01-13-2006 10:22 PM
Hello,
The datatype of the Ring is a U16. The reason they are different in your VI is that the implicit property node is going to give you access to the exact data type for the control (in other words, the implicit property node "knows" exactly what kind of ring you're dealing with, since it is implicitly linked to the front panel object), whereas the Ring reference that you have casted from the more generic Control class isn't strictly typed, so the datatype it provides for the Ring value is the most all-encompassing numeric datatype there is...specifically, the EXT datatype. To my knowledge, there is no way to gain access to a strict representation of a control that you obtain from the "Controls[]" property of the Panel or Cluster classes.
I hope that explanation made sense. You can read more about strict typing in the LabVIEW Help.
01-14-2006 10:22 AM