LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UML dependency and composition relationship in LabVIEW

Hello,

 

Does anyone have a simple example of LabVIEW OO class representing UML's dependency and composition (owned) relationship? Both OOP and UML are  fairly new to me and I am not sure of good way to implement UML's dependency and composition relationships in LVOOP...

 

Thank you in advance.

0 Kudos
Message 1 of 2
(2,680 Views)

If you would like to learn about object-oriented programming, I suggest spending some more time with a text-based language.  UML was designed with those languages in mind (I've used UML and .NET C# together successfully).  Labview OO builds on the foundation set by these other languages.  

 

In my opinion, it would be best to take the approach of learning about classes, objects, inheritence, and other fundamentals of OO seperately from UML.  Once you are comfortable with these concepts, try designing a program in UML and implementing it in a OO text-based language. After your comfortable, take a look at some of the OO examples in Labview.

 

Search for "object-oriented" in Labviews Examples (Help >> Find Examples >> Search).  There are several examples that can get you started. Not to mention that you can accomplish a lot in Labview without touching OO programming.

 

Cheers.

National Instruments
0 Kudos
Message 2 of 2
(2,664 Views)