Jump to content

OOP inheritance wont work


Recommended Posts

Posted

I posted this on NI forums but I figured I'd post it here since LAVA as a specific OOP section. \

Just teaching myself some OOP because I want to implement (no pun) it on my next project. However, I can't for the life of me figure out why the attached wont call the child methods.

Posted
I can't for the life of me figure out why the attached wont call the child methods.

I just opened your attachment, and I don't see any classes... Did you forget to add them? And you didn't add "MAIN.vi" either. All I see is a lvproj...

Posted

Looks fine to me, and if I turn on execution highlighting on the child methods I see them executing. I opened your VIs in 8.6.1.

Posted

Looks good to me also. I was using LV 2009.

For me, the array was being filled with empty strings. Did the array populate with the private data strings for you?

For me, the array was being filled with empty strings. Did the array populate with the private data strings for you?

AH rookie mistake. I have to set the string first. Duh.

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.