LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connection required by default

In LabVIEW it is possible to define a control connection as required. The default is recommended.

In principle I set almost all my controls to connection required because my program can't be executed until all connections are correctly linked. I find that I have less surprises like this. Especially with this very dangerous command CTRL-B (Remove Broken Wires).

So is it possible to set all control connections as required by default ???
0 Kudos
Message 1 of 6
(3,477 Views)
> In LabVIEW it is possible to define a control connection as required.
> The default is recommended.
>
> In principle I set almost all my controls to connection required
> because my program can't be executed until all connections are
> correctly linked. I find that I have less surprises like this.
> Especially with this very dangerous command CTRL-B (Remove Broken
> Wires).
>
> So is it possible to set all control connections as required by
> default ???
>

I'm afraid it isn't built in, though using the VI server, I think you
could write a small utility to do this.

The reason the default is recommended is to be compatible with prior
vesions of LV. Around LV4.1 or LV5, we added the options to make an
input advanced, meaning that it didn't advertise
itself as much and was
easier to ignore except in the cases where you knew you needed it. We
also added required, since occasionally we had inputs that broke the VI
until wired. In general, though, unwired inputs have defaults, and if
the default is sensible, it makes the wiring much easier and makes the
diagram a bit easier to follow. Good examples are things like enums and
Booleans where maybe 50% of the time you can skip the wire since the
most common option is the default.

Greg McKaskle
Message 2 of 6
(3,477 Views)
I, too, would like the option to have LabVIEW always default to "Required" rather than "Recommended".

I'd say over 95% of my connections are required, so I always have to manually do this. What a waste of time!
Message 3 of 6
(3,477 Views)

Hello,

 

   Yes I agree that it would be VERY NICE to have the inputs to vi's to default to required.

 

Regards,

 

Kaspar

Regards,


Kaspar
0 Kudos
Message 4 of 6
(3,221 Views)

It's an option in 8.5.

Also, this thread was four years old.

Message 5 of 6
(3,206 Views)

Hello,

 

   Thanks for getting back to me, I guess there is jut another reason to upgrade to Labview 8.5

Regards,

 

Kaspar

Regards,


Kaspar
0 Kudos
Message 6 of 6
(3,197 Views)