02-16-2011 04:32 PM
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.
02-17-2011 02:43 PM
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.