LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding out the connector pane of a node

Solved!
Go to solution

Hi community,

 

a google search has failed me so here goes:

 

Is it possible to find ot what the connector pane of a node looks like?

The nodes available in LabVIEW are not vis and therefore cannot be opened to inspect the connector pane.

My intention is to create a sub vi to replace a certain node (in this case "one button dialog"). I'm hoping that if I could match its connector pane I could actually use the replace function on multiple instances of the node without having to fix the wiring manually.

 

Any help would be appreciated.

0 Kudos
Message 1 of 4
(3,352 Views)
Solution
Accepted by topic author Florian.Ludwig

First of all, i have NO idea what you want to achieve.

 

However, you can right click all nodes and select Visible Items >> Terminals.

A second point is to activate Scripting (LV Options >> VI Server) with the subsequent "Display additional VI Scripting information in Context Help window" to see the scripting ordering of the terminals of a node.

 

Maybe this is the information you were looking for. If not, please describe the use-case in other words which are hopefully more understandable...

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(3,345 Views)

That is what I wanted to know. Thanks.

 

In order for this to make sense to more readers:

 

I wanted to know the connector pane of a node (visible by right clicking and selecting Visible Items >> Terminals, as pointed out by Norbert).

Now that I know that I am able to create a vi with a matching connector pane.

Now I can e.g. right click an instance of that node, click replace and select my own vi - replacing the node and keeping the wiring intact.

 

0 Kudos
Message 3 of 4
(3,331 Views)

Please note that this does not work for "growable" nodes like Build Array, Concatenate Strings, Unbundle by Name, ...

 

Also note that having subVIs encapsulating the nodes will have a performance impact. Depending on your requirements, the impact could be significant.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(3,328 Views)