LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to know if a wire is connected to a control (in the case of subVI)?

Solved!
Go to solution

Good stuff... for many data types. But boolean controlse sure present a challenge to employ this strategy

0 Kudos
Message 21 of 30
(1,152 Views)

@buckidge wrote:

Good stuff... for many data types. But boolean controlse sure present a challenge to employ this strategy


Then it's a good thing you could use a channel wire instead 


"Should be" isn't "Is" -Jay
0 Kudos
Message 22 of 30
(1,145 Views)

@buckidge wrote:

Good stuff... for many data types. But boolean controlse sure present a challenge to employ this strategy


OMG! When everyone was suggesting to set the default value as a different/illegal value, I'm quite surprised that it hit no one about the Control being a Boolean. Smiley Surprised

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 23 of 30
(1,118 Views)

@parthabe wrote:

@buckidge wrote:

Good stuff... for many data types. But boolean controlse sure present a challenge to employ this strategy


OMG! When everyone was suggesting to set the default value as a different/illegal value, I'm quite surprised that it hit no one about the Control being a Boolean. Smiley Surprised


Why would anyone have noticed that comment to even reply to it?  The messages have several other ones between them, are on different pages. They are 9 years apart chronologically.  I don't think "everyone" was suggesting anything.  Just one person in a relatively minor message that is 9 years old.

0 Kudos
Message 24 of 30
(1,105 Views)

I'm not talking about today; but (I meant) I was wondering why this Boolean thing didn't strike anyone 9 years ago itself!

 

Ok, if you want to go by the precise count, then it is 2 (Lynn & Gerd), NOT just one person! But ironically, Gerd's had got marked as the Solution, although Lynn was the one who suggested it first!

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 25 of 30
(1,078 Views)

@parthabe wrote:

I'm not talking about today; but (I meant) I was wondering why this Boolean thing didn't strike anyone 9 years ago itself!

 

Ok, if you want to go by the precise count, then it is 2 (Lynn & Gerd), NOT just one person! But ironically, Gerd's had got marked as the Solution, although Lynn was the one who suggested it first!


9 years ago we didn't value solutions as much as today.  And the solution is often a synergistic effort.   That any solution is marked is usually fine.  

 

The obvious work around for boolean back then is wrap it with metadata.  

 

Variant +attribute, cluster, etc.. channel wires do that for you now.


"Should be" isn't "Is" -Jay
0 Kudos
Message 26 of 30
(1,060 Views)