Jump to content

Radio button return bad value on mouse clicked event


Bobillier

Recommended Posts

Hi

I try to develop one UI with a selector button to choose between different buttons. For that, I use one radio button in event structure but the result (choix) is not that expected. It's always the previous value of radio button and not the clicked button.(see my VI (LV2018)) I can't use value change event because in this case if I clicked  on one button allready select, there is no change and no event.And I need to know clicked element.

Eric

Bug radio Button.vi

Link to comment

Finally my best solution is base on Ensegre solution, but to solve the previous issue, I have:

1) Define list radio Button with
 "Authorize no selection" option
 (right click on radio button border
 to show this option.
2) Replace click event by value change event.
3) Force to "no selection" at start.
4) Force to " no selection" just after value
change for future "Value Change " detection  

 

Bug radio Button V2.vi

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.