From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-03-2014 07:02 AM
Hello:
I am using a ring control. When I choose an element from the list, I have no problem. the programa generates a event "value change" and I can work on it.
The problem is that at this moment I need to activate the option "allow undefined values at run time".
When I choose this option, a rectangle appear near to control to write the desired value, but it does not generate an event, so I am not able to work on it.
Can anybody know the rigth way to proced on it?
Thank you!
10-03-2014 09:05 PM
What version of LabVIEW are you using?
In LV2014, it generates an event once I hit enter or click away from it.
10-04-2014 11:24 AM
What event are you using? Maybe it's not the right one?
10-06-2014 05:24 AM
Thank you for your quick answer.
Perhaps I did not explain very well in the mail before.
The event works fine, the worst thing for me is the visual aspect.
I have a ring control with 3 options, for example. (Option1, Option2, Option 3), and I check the "allow undefined values at run time" option.
When I run the program, if I select the last option ("Other" option), a small rectangle appears near to control to insert the new value, but the text on the ring continues being the last selected Option1, Option2 or Option3, until I validate the value on the rectangle with the Enter key.
Once I do it, the text on the ring is <***> where *** is the value I write on the rectangule.
For me, it would be more useful if the text "Other" or "custom" appears on the ring when I select this last option.
I am trying to attach an image to explain it better.
Thanks.
10-06-2014 05:26 AM - edited 10-06-2014 05:27 AM
I am sorry, the version of Labview is 2011, Service Pack 1
10-06-2014 06:22 AM
What i think you need to do is create the functionality yourself. Add an "Other" option and if selected ask for a new string which you'll add to the Strings[] property.
Check my attached file.
/Y
10-06-2014 07:29 AM
Ok,thank you, it is a good idea!
I will do it!
Thank you very much!