The LabVIEW IDE may coerce diagram constants when the enumerated typedef changes. The problem is: the constants may occur in many places, and the coerced value is not necessarily helpful.
In the pictures below, the "Idle" element is removed from the typedef and the IDE coerces the diagram constant to a neighboring value "triggered".
Now the program behaves as if triggered.
When a diagram constant becomes invalid, wouldn't it be better to flag it as broken, so that the programmer is forced to handle the problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.