LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
jandrengen

Property indicating whether a control is on the connector pane

Status: Declined
This feature already exists in LabVIEW

When developing LabVIEW automation tools, I miss a way to list the controls connected to a VI's connector pane. That would make it possible for the user to better select which controls to set before calling a VI (dynamic VI call).

 

An "IsOnConnector" property on a control reference would be very useful. Or better; a property returning an enum with one of the four values: "NotConnected", "Optional", "Recommended" and "Required".

 

Another solution could be a property like the Controls property on a Panel reference, but only listing the controls on the connector.

 

15 Comments
tst
Knight of NI Knight of NI
Knight of NI

I still don't see how knowing that a control was defined as an input to a function helps you in knowing which controls to set, unless you explicitly ask the user: "Look, these are the controls which have been defined as inputs. Which value do you want to give each of them?" (which does not look like a code construct I would ever use). In all other cases you would need to know what the controls are anyway, so it doesn't matter if they were defined as inputs.

 

 

Anyway, if you do dynamic calls, I would suggest voting for this idea, which would remove the need for calling controls by name.


___________________
Try to take over the world!
G-Money
NI Employee (retired)
Status changed to: Completed
This feature already exists in LabVIEW
G-Money
NI Employee (retired)

I am changing the status from Completed to Declined because Completed should only be ideas that R&D see on Idea Exchange, actively developed on it based on the idea here, and it was added to the product.

G-Money
NI Employee (retired)
Status changed to: Declined
This feature already exists in LabVIEW
G-Money
NI Employee (retired)

I am changing the status from Completed to Declined because Completed should only be ideas that R&D see on Idea Exchange, actively developed on it based on the idea here, and it was added to the product.