luke Posted August 10, 2006 Report Share Posted August 10, 2006 I read about the new Object-Oriented features in LabVIEW 8.20. It has inheritance, but it also have polymorphism and overriding? Without these it is impossible to implement some design patterns like the "strategy". Quote Link to comment
luke Posted August 10, 2006 Author Report Share Posted August 10, 2006 :thumbup: :thumbup: :thumbup: I TESTED IT!!! IT HAS BOTH POLYMORPHISM AND OVERRIDING!!! Now we should find the way to pass parameters by reference!!! Does anybody know how to do it? Quote Link to comment
Mike Ashe Posted August 12, 2006 Report Share Posted August 12, 2006 Go to NI's website and read some of the whitepapers on NI's GOOP. They currently pass ba value only. There is no pass by reference. Not yet. Some people are already at work on wrapping NI's new stuff inside of some of the open source pass-by-reference toolkits available. Keep your eyes open. Quote Link to comment
Jim Kring Posted August 14, 2006 Report Share Posted August 14, 2006 :thumbup: :thumbup: :thumbup: I TESTED IT!!! IT HAS BOTH POLYMORPHISM AND OVERRIDING!!! Now we should find the way to pass parameters by reference!!! Does anybody know how to do it? Use the NI Example Finder and search for "object-oriented". There is a "by reference" example, that shows how to use a queue reference as an object that refers to global data. Other global/shared object frameworks can be implemented in the same way. Quote Link to comment
luke Posted August 14, 2006 Author Report Share Posted August 14, 2006 Use the NI Example Finder and search for "object-oriented". There is a "by reference" example, that shows how to use a queue reference as an object that refers to global data. Other global/shared object frameworks can be implemented in the same way. NICE! It seems a simpler approach then dqGOOP. I think that such method is OK, but an automatic tool that creates and updates the "reference class" will be fantastic! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.