Call Parent Method function: Difference between revisions
Appearance
Started page |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{TOCright}} | {{TOCright}} | ||
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Cluster, Class, and Variant{{!}}Cluster, Class, and Variant palette|type=function}} | {{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Cluster, Class, and Variant{{!}}Cluster, Class, and Variant palette|type=function|icon=Cluster, Class, & Variant Palette - Call Parent Method.png}} | ||
The '''Call Parent Method''' function calls the nearest ancestor implementation of a class method. You can use the Call Parent Method node only on the block diagram of a member VI that belongs to a class that inherits member VIs from an ancestor class. The child member VI must be a dynamic dispatching member VI and have the same name as the ancestor member VI. | The '''Call Parent Method''' function calls the nearest ancestor implementation of a class method. You can use the Call Parent Method node only on the block diagram of a member VI that belongs to a class that inherits member VIs from an ancestor class. The child member VI must be a dynamic dispatching member VI and have the same name as the ancestor member VI. |
Latest revision as of 20:12, 29 June 2020
![]() |
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |
Object information | |
---|---|
Owning palette(s) | Cluster, Class, and Variant palette |
Type | Function |
Requires | Basic Development Environment |
Icon | ![]() |
The Call Parent Method function calls the nearest ancestor implementation of a class method. You can use the Call Parent Method node only on the block diagram of a member VI that belongs to a class that inherits member VIs from an ancestor class. The child member VI must be a dynamic dispatching member VI and have the same name as the ancestor member VI.
The parameters, or input and output terminals, of this node depend on the ancestor member VI and change to match the ancestor member VI exactly. This node adopts the VI icon of the ancestor member VI with a glyph in the bottom, left corner of the subVI to indicate the subVI is calling the ancestor member VI instead of dynamically dispatching as a dynamic subVI node does typically.
Usage
![]() |
Specific use cases for this function. |
Best practice
![]() |
Add other best practices for this function. |
History
![]() |
History information is needed. What changes have occurred over previous versions? |
Version | Change(s) |
---|---|
![]() |
More info to come. |
See Also
![]() |
Add links to internal wiki pages that would also help. |
External Links
![]() |
Add links to external resources that would also help. |