From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug or feature : ref to decorations?

Hi,

The LV manual is mentions, under 'Selection List (Panel)' :

Decorations Readonly Array of references to the decorations in the
panel.
All Objects Read only Array of references to all the objects
(controls and decorations) in the pane.
Selection List Read only Array of references to the selected objects
in the panel.

For All objects this is true, but.... 'All Objects' and 'Selection List'
doesn't seem to work for decorations! The references are zero (when viewed
with a probe). All properties fail because of this.

Any idea why?

Regards,

Wiebe.
0 Kudos
Message 1 of 4
(2,445 Views)
"AIR" wrote in message news:9tiq0c$fid$1@news1.xs4all.nl...
> Hi,
>
> The LV manual is mentions, under 'Selection List (Panel)' :
>
> Decorations Readonly Array of references to the decorations in the
> panel.
> All Objects Read only Array of references to all the objects
> (controls and decorations) in the pane.
> Selection List Read only Array of references to the selected
objects
> in the panel.
>
> For All objects this is true, but.... 'All Objects' and 'Selection List'
For 'Decorations' this is true, but.... 'All Objects' and 'Selection List'


> doesn't seem to work for decorations! The references are zero (when viewed
> with a probe). All properties fail because of this.
>
> Any idea why?
>
> Regards,
>
> Wiebe.
>
>
0 Kudos
Message 2 of 4
(2,445 Views)
I'm not sure of the behavior you are seeing. I can use the All Objects to return references of a front panel containing decorations without the decoration references being null. We have seen some issues with grouped decorations returning null references. The solution to that was to ungroup your decorations. If you have an example of the problem then I would suggest going to www.ni.com/ask and submitting your example for an NI application engineer look at it. In that way we can get the problem corrected if it is a problem in LabVIEW.

Marc MOnroe
Application Engineer
National Instruments
0 Kudos
Message 3 of 4
(2,445 Views)
Hi,

Thanks for the reply.

"Jeff M." wrote in message
news:506500000005000000764F0000-1005954886000@exchange.ni.com...
> I'm not sure of the behavior you are seeing. I can use the All
> Objects to return references of a front panel containing decorations
> without the decoration references being null. We have seen some
> issues with grouped decorations returning null references. The
> solution to that was to ungroup your decorations.
In my version/configuration (6.0.2, win2k) I get zeros for the decorations.
They are not grouped.

> If you have an
> example of the problem then I would suggest going to www.ni.com/ask
> and submitting your example for an NI application engineer look at it.
> In that way we can get the problem corrected if it is a pr
oblem in
> LabVIEW.
I'll try that!


>
> Marc MOnroe
> Application Engineer
> National Instruments

Thanks again,

Wiebe.
0 Kudos
Message 4 of 4
(2,445 Views)