LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make error clusters default to Required on the connector pane?

I have the "Connector pane terminals default to Required" checkbox checked in Tools >> Options >> Front Panel >> General, and this seems to work for everything except the error cluster. The error cluster always defaults to "Recommended" whether I drop it from the Control Palette or create a subVI with an "error in" cluster. Is there a way to default all "error in" clusters to "Required"?

 

0 Kudos
Message 1 of 3
(2,616 Views)

I don't think there is, and this seems to be by design, because for most VIs you have no way of knowing for sure that something which can generate an error will be called before that VI. You could probably leave it that way.

 

Incidentally, there are those who say that unless your VI can generate an error, it should usually not have error I/O at all, because for most VIs they simply burn processor cycles on checking for an incoming error and prevent LV from running things in parallel if you have an artificial dependency only from the error I/O. I don't usually have such code, but maybe you do.


___________________
Try to take over the world!
Message 2 of 3
(2,582 Views)

I accidentally got LabVIEW into a state where new error in terminals were required, but I can't replicate it.

Since I mentioned it and didn't do any good, here's one way to change all "error in" terminals to required:

requireErr.png

Message 3 of 3
(2,570 Views)