Jump to content

Object-Oriented programming in LabVIEW 8.2


Recommended Posts

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.

Link to comment
: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.

Link to comment
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! :P

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.