LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get All Controls reference - modified: Problem with LV2009 (not with LV8.6.1)

Solved!
Go to solution

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

 

LV861.jpg

 

 With LV2009

LV2009.jpg

 

I tried to type cast (To More Generic Class) but it is not working, someone have an idea to solve the problem?

 

 

Jean-Marc

Download All
0 Kudos
Message 1 of 3
(3,193 Views)

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,

 

0 Kudos
Message 2 of 3
(3,142 Views)
Solution
Accepted by topic author J-M

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.

LV2009 v2.jpg
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).

Message 3 of 3
(3,126 Views)