Jump to content

Bug with Ring typedef cts and with Combobox typedef cts


Bobillier

Recommended Posts

Hi all

Today i have find two bug (i think) with typedef controls.

Ring

1) I create ring typedef with one value. I place it in my diagram and that create one constant (here all is normal)

2) I modify typeDef and add one another value in first position, and place it to diagram.

Althoughthe they are synchronize, the new value don't appear in first constant and more bad, they can return same numeric value for differents values.

ComboBox

1) I create combobox typedef with two values. I place it in my diagram and that create one constant (here all is normal)

2) I modify typeDef and add one another value in first position, and place it to diagram.

Althoughthe they are synchronize, the new value don't appear in first constant .

I know you can use find (Ctrl-F) and replace with source typedef to obtein correct values .But in case of combobox, this action all cste are size compress (another bug?).

Eric

ComboboxDeftype.ctl

Constant DefType Bug.vi

Deftype Ring.ctl

Link to comment

This is not a bug. Rings are not bound to the string values like they are in an enum. This is why you can change the strings in the ring, but can't change the strings of an enum at runtime. LV's Help explains it better. See: "ring controls, compared to Boolean and enumerated type controls " in the LabVIEW help.

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.