05-22-2009 01:28 PM
05-22-2009 02:34 PM
svt4cobra6 wrote:
Just wondering if it is possible to build classes with labview and how this applies, starting a new project and want to design the software to be easily maintained. I would like to be able to Inherit vi modules and possibly override portions of the inherited vi. Also if anyone has any experience trying to impliment OOD features and can provide any feedback. In addition are there any suggested standards to adhere to for labview development that might increase readability. thanks Paul.
Come on now! Do you you really think you can get a good answer with such a broad question?
If you are uisng LabVIEW 8.2 or better then LVOOP is what you want to look into.
LAVA has a forum devoted to OOP in LV and can be found here. If you are not uisng LVOOP then that site is your best resource for help.
At this link you will find a document that talks about what went into LVOOP.
If you are an old time OOP type you will probably be disapointed that the is no "call by refence" (yet) and you will have to "roll-your-own" if you want a design that uses Active Objects.
I believe there is a style guide built into the LV help.
Did I cover the main points?
Ben
BTW "LVOOP" = LabVIEW Object Oriented Programming and is often pronounced like it is a french word "la-voop".
05-22-2009 03:01 PM
05-22-2009 03:08 PM
svt4cobra6 wrote:
...I am an old time OOD programmer, C# ...there is no code other than G code ...
Do you mind if I mis-quote you on that?
SO that prompts me to re-tell another old war story. I was working for the Physics department at U of Pitt when one of the profeessors asked me "Ben, do you know LabVIEW?" I relpied "G, I don't know.". Within two years of that converstaion I realized I had made a pun.
Ben