LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controls[] property limitation/bug?

Hello!
The Context:
------------
LabView 6.1 under Windows 2000.
I use the VI->Reference->FrontPanel->Controls[] property to update Controls Tips and descriptions of my
main front panel VI.

The problem:
------------
My main VI has many controls (didn't count them but not far from a hundred I think). The Controls[] property does not contain references on all of them (only 50).
It's even worse If I try to access the AllObjects[]
property: only 9 references in the array.
Has any one encountered this problem?

Is there a limitation to the number of references that can be opened?
Could a "perverted" control disturb the Controls[] property array creation?
Any help welcome.
Thanks in advance.
0 Kudos
Message 1 of 3
(2,619 Views)
THis is just a guess,

Are you using tab controls? The references for the controls located on tab controls do not show up under Controls[].

If you want at those controls you have to determine which references are tab controls and then use the pages property to get at the control references of all of the controls on each page.

Nested tab controls require the same approach.

The only limit on controls/indicators I know of is 550.

(No! I did not write that code. I helped a customer dig themselves out).

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,619 Views)
Thanks ben! It works.
What's surprising though is that all my controls are put on a tab control. So I should have got no reference on them with my initial approach.
😉
0 Kudos
Message 3 of 3
(2,619 Views)