From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-05-2012 03:16 AM
hello, i'm wondering if it's possible make a know that select only my value (that i have in an array)
i've tried to do as in image, but as you can see it return error
Solved! Go to Solution.
12-05-2012 03:32 AM - edited 12-05-2012 03:32 AM
Hi gigi,
make a knob, set it to I32 datatype and set a range from 0 to (num-of-elements -1 ).
Now the knob will provide an index into your value array and you simply need to use an IndexArray function...
Or use a ring. Or use an enum. Or ...
12-05-2012 03:32 AM - edited 12-05-2012 03:34 AM
I was replying the same way as Gerd but we had a race condition...
12-05-2012 03:43 AM
thhanks you both...it works but with an error 😞
in my knob now i see from 0 to 35 value...and not my real value 🙂
12-05-2012 03:51 AM - edited 12-05-2012 03:52 AM
12-05-2012 03:58 AM - edited 12-05-2012 04:01 AM
are you speaking about text labels?
i have tried them...but i should write all my 35 labels (i think they are too much) or i lose the possibility to select some value...
for example...i have 35 possible value...if i write only 10 text labels i'll can select only those 10 value...i can't select other value 😞
PS: in which way can i hide scale value?
12-05-2012 04:05 AM - edited 12-05-2012 04:06 AM
Hi gigi,
don't know the English name, I only have the German LV version available...
Yes, 35 labels are a lot of text.
- Make your knob bigger to allow more (visible) entries.
- Don't show all entries. You may still select steps in between...
- As mentioned before: use an enum or ring.
"Hiding scale values": it's all in the properties of your control...
12-05-2012 04:14 AM
i can't make it bigger (i need this size)
Don't show all entries. You may still select steps in between... in which way?
use an enum or ring - what are them? 😄 sorry but i'm new in labview, and my english is so bad 🙂
"Hiding scale values"...in labview 7.1 this command is not present 🙂 or i too noob to find it 🙂
12-05-2012 04:18 AM
Hi gigi,
even in LV7.1 you can right-click your knob and select "scale"->"representation" to hide the scale...
When you set your knob to a range as described above you can always select any number from that range, regardless if the scale is hidden or not and regardless if the scale shows all those numbers or just some of them...
Rings and Enum are found on their special palette. Did you tried Google to find some information about them? Did you search the LabVIEW help? Doh...
12-05-2012 04:20 AM
i find the way to don't show them all 🙂
or using delete button or doing as in image 🙂 thanks