LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is a control connected in a higher level VI?

From VI 'A' i'am calling VI 'B'. B has several controls which can be connected, but not al are necessary to run the VI. Is there a possibility to find out which controls of frontpanel B are connected and written by A? Normally the default value is filled in when no connection is made, but i want to know if there is a flag or so for this.

 

Joost Schouten
0 Kudos
Message 1 of 4
(2,563 Views)
A proper written VI should have REQUIRED set on pins that are needed to run the VI.  For pins that have a defaults value they should be Labeled by the author as Temperature (20) where 20 is the default value.  To answer your question is no, there is not a falg.  You will have to go to the connector pane and inspect Pin by Pin and figure out the connections.  Double click the pin on the connector pane and it will bring you to the control.
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 4
(2,556 Views)
maybe my question wasn't very clear, i don't need to know which connections are made on the connector, but wich are connected in the higher level VI... Hopefully these VI's make my question clear...
 
 
Download All
0 Kudos
Message 3 of 4
(2,554 Views)
Hi Joost,

you can only do this by checking for the default value. You can set default values like NaN (for floats) or empty string/path/array to make the detection easier...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,551 Views)