03-12-2012 02:25 PM
As I was trying to comment on an Idea Exchange Thread, I stumbled upon this bug.
Drop the following on a diagram:
Then try to "Create Indicator" from the OR function output:
Then Run the VI (or try to compile it using Ravens Fan's favorite trick of Ctrl-Run Arrow). Here is what I get:
The VI is now broken.
If I delete the indicator, it doesn't fix the problem. If I delete the operator, it does.
03-12-2012 04:20 PM
I'll confirm it for LV2011.
I don't know what the expected result should be of OR'ing a cluster. But the error message that pops up is certainly ambiguous and deep from within LabVIEW.
03-12-2012 04:20 PM
This is indeed something special...
Nice find!
However, I still find an OR operator with one input a bit weird 🙂
03-12-2012 04:32 PM
Using 2 inputs (expanding the compound) you'll only get a boolean out.
/Y
03-12-2012 04:42 PM - edited 03-12-2012 04:45 PM
@ThiCop: That's the whole idea of "More Compact Operators"!
@Yamaeda: That was exactly what I was trying to "create": a simple operator that would convert an error cluster into its Boolean component. So I shrunk the operator and to my surprise (but again that may be the "expected" behavior ;-), the output reverted to an error cluster. Then bam!
03-13-2012 04:03 AM
And then you didn't use the unbundle by name because it had to be more compact?
03-13-2012 04:04 AM - edited 03-13-2012 04:06 AM
Except that a single-input OR gate is basically a synonym for a wire.
Mike...
(who thinks trying to assert a copyright on a forum post is really lame -- especially when it doesn't say who is asserting the claim)
03-13-2012 10:04 AM
@ThiCop wrote:
And then you didn't use the unbundle by name because it had to be more compact?
I did, precisely for this reason.
03-13-2012 10:29 AM - edited 03-13-2012 10:29 AM
mikeporter wrote:
(who thinks trying to assert a copyright on a forum post is really lame -- especially when it doesn't say who is asserting the claim)
I couldn't agree more. Moreover I think the whole idea of a signature is annoying. Which is why I turned the option of displaying signatures off. As a matter of fact, even the idea of avatars irritates me. In particular those which try to be original and poke fun at... now I am getting in trouble!
03-13-2012 10:44 AM
@X. wrote:
mikeporter wrote:
(who thinks trying to assert a copyright on a forum post is really lame -- especially when it doesn't say who is asserting the claim)
I couldn't agree more. Moreover I think the whole idea of a signature is annoying. Which is why I turned the option of displaying signatures off. As a matter of fact, even the idea of avatars irritates me. In particular those which try to be original and poke fun at... now I am getting in trouble!
I'm with you on that one! (cough cough hack hack)
I'm better some years than others...
back on topic
I agree that no user actions (short of type casting) should crash LV.
Ben