> 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