LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

possible bug with enum control

There seems to be a problem using the "Strings []" attribute node for an
"Enumerated Type" ring control.

I can read from it fine, but if I try to write a string array to it,
nothing happens to the strings in the control. I don't have this
problem with a "Menu" ring control. Most peculiar. Writing to other
attribute nodes works fine, such as the "visible".

Enclosed is a very simple vi (LV5.1) that demonstrates this.

Chris


[See first answer for additional information]
0 Kudos
Message 1 of 3
(2,782 Views)
[Attachment(s) for question]
0 Kudos
Message 2 of 3
(2,782 Views)
"Christopher G. Atwood" wrote:
>
> There seems to be a problem using the "Strings []" attribute node for an
> "Enumerated Type" ring control.
>
> I can read from it fine, but if I try to write a string array to it,
> nothing happens to the strings in the control. I don't have this
> problem with a "Menu" ring control. Most peculiar. Writing to other
> attribute nodes works fine, such as the "visible".
>
> Enclosed is a very simple vi (LV5.1) that demonstrates this.
>
> Chris
>
> ------------------------------------------------------------------------
> Name: test.vi
> test.vi Type: LabVIEW Instrument (application/x-unknown-content-type-LabVIEWInstrument)
> Encoding: base64
Chris,

This is definitely not a bug, because thi
s attribute is read only. Refer
to online help and click on the property node to check. Use menu or
another with permitted write attribute.

Regards,
--
Sergey Krasnishov,
--------------------------------------
Automated Control Systems
National Instruments Alliance Member
Moscow, Russia
sergey_acs@levsha.ru
--------------------------------------
0 Kudos
Message 3 of 3
(2,782 Views)