11-05-2007 03:04 AM
11-05-2007 03:32 AM
11-05-2007 03:37 AM
jumpinkiwi a écrit:
Bug or feature?
11-05-2007 03:50 AM
11-05-2007 04:00 AM
11-05-2007 07:28 AM
The only persons capable of answering "Why ..." questions are members of LabVIEW R&D who were present at the design metings or Rolf Kalbermatter.
I'll guess at some of them.
The type cast is an advanced function that is burried deep in the palettes.
It and the other functions on the data manipulation palette are powerful and if misused could be dangerous.
I have to guess that NI hopes users will first familiarize themselves with the details of data representation in LV before they use them. ( I broke this rule ).
Since enums can be used to control case structures, and in that case determine program flow, all of the "cases" have to be covered. An U32 with its upper bits set could cause some bad things when the case code executes.
If you show the "Help" window and switch to the wiring tool, when you float over the wire, the window will show you what your wires data type is.
I think I am done guessing now.
I hope this helps out a bit!
Ben
11-05-2007 11:59 AM