LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

accessing child class data with parent class static accessor

Solved!
Go to solution

DerekMGI,

 

I am sure that I am confused. I just happended to use an enum but it very well could have been a string. The Enum was the input to setJobTitle (data accessor).

 

I agree that Child IS-A parent, but I can't seem to figure out how to do it in labview.Pic1.png

I believe this is what you were trying to tell me to do.

 

Pic2.png

This is my DD Vi of Hire

 

Pic3.png

 

Here is my project

0 Kudos
Message 11 of 12
(770 Views)

The names were correct because they were written with Static Parent Vis. But the DD Vis "Hire" didn't affect the data the way I anticipated.

 

But my previous example worked just fine by using the "Call Parent Method".

0 Kudos
Message 12 of 12
(769 Views)