ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How are relations programmed from Association, Aggregation, Composition, Dependency, in LabVIEW?

Does anyone know a link, tutorial or example that explains how to carry out the programming of Association, Aggregation, Composition, Dependency, in LabVIEW? Thank.
0 Kudos
Message 1 of 4
(3,820 Views)

What do all of those terms mean?  How do they even relate to LabVIEW?

0 Kudos
Message 2 of 4
(3,811 Views)

It sounds like you want to learn about LabVIEW Object Oriented Programming (LVOOP).

Here's a resource that links to a whole bunch of other resources.

 

 

I had to google it, but apparently this is what the words in the title mean:

   Aggregation implies a relationship where the child can exist independently of the parent. Example: Class (parent) and Student (child). Delete the Class and the Students still exist.

   Composition implies a relationship where the child cannot exist independent of the parent. Example: House (parent) and Room (child). Rooms don't exist separate to a House.

   The above two are forms of containment (hence the parent-child relationships).

   Dependency is a weaker form of relationship and in code terms indicates that a class uses another by parameter or return type.

   Dependency is a form of association.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 3 of 4
(3,805 Views)
Hello, I am using the version of LabVIEW 2013 and I can not find the example of [LabVIEW Path]\examples\lvoop\navigation (https://decibel.ni.com/content/docs/DOC-13722), anyone can attach the project?
 
Thank
0 Kudos
Message 4 of 4
(3,742 Views)