The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Connector Pane

SercoSteveB
Active Participant

Consider the VI Connector Pane shown below. Which of the following statements is TRUE regarding the top left and top right terminals of the Pane?

 

Connector Pane.PNG

 

a) The terminals are configured for Static Values

b) The terminals are configured for Dynamic Dispatch

c) The terminals are configured for Polymorphic Interpretation

d) The terminals have been shaded (badly) by Steve using the power of GIMP

Comments
nik35324
Member

B

The methods Dynamic Dispatch  and static are interchangeable. Right-click on the method’s connector pane terminal and then choose the desired terminal behavior.

Choosing "Required" changes to static dispatch.

For dynamic dispatch behaviour choose "Dynamic Dispatch"

Dynamic and Static Dispatch.png

 

crossrulz
Knight of NI

B



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
MrStevenUND
Member

That's new to me!  B.

crossrulz
Knight of NI

For those who do not know, the Static Dispatch and Dynamic Dispatch are used when using Object Oriented Programming (OOP).



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
CataM
NI Employee (retired)

Good to know.

SercoSteveB
Active Participant

Answer: B.  Nice one all.

 

To create a dynamic dispatch member VI, you must set one input terminal on the connector pane to Dynamic Dispatch Input (Required).

 

You can create dynamic dispatch output terminals by right-clicking an output from the connector pane and selecting This Connection Is»Dynamic Dispatch Output (Recommended) from the shortcut menu.

 

Although a dynamic dispatch member VI can have no more than one dynamic input, the VI can include multiple dynamic outputs.