08-28-2009 07:34 AM
I modified Get All Controls reference.vi (http://zone.ni.com/devzone/cda/epd/p/id/2902) and it is working fine in LV8.6.1. With LV2009, I obtain wire class conflict (for the references).
With LV8.6.1
With LV2009
I tried to type cast (To More Generic Class) but it is not working, someone have an idea to solve the problem?
Jean-Marc
Solved! Go to Solution.
08-31-2009 10:21 AM
While I am not sure why it works in LabVIEW 8.6.1, I think LabVIEW 2009 is correct. The tab control is a control. Each tab page itself is not a control; they are owners of controls. Once you get the array of pages, you need to loop on them to get the controls on each page.
As for the LabVIEW 8.6.1, perhaps each page used to have a control reference of its own? This would seem to me to be incorrect.
Hope that this helps,
08-31-2009 12:36 PM
I agree with you,
I made the modifications soon this morning. I just need the reference of the Tab Control himself (I don't need the references of the pages). I used "generic" instead of "control" and I typecast to more specific class (control) at the step 5 in the block diagram.
Thanks
Jean-Marc
The modified files are available at http://forums.ni.com/ni/board/message?board.id=4170&thread.id=30464 (I apologize to not upgrade this post).