LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Local variables with radio buttons

I'm trying to set the value of a radio button by creating a local variable. Unfortunately that variable always requires number input when I want to pass "Filter Slow" and such things to select the correct button. What do I do?
0 Kudos
Message 1 of 8
(3,788 Views)
Hi,
why dont you use a work around,by making a 1D array of all your "FILTER SLOW","FILTER FAST" ETC then depending on the selection chose the number 0 or 1 etc which will be input to the local variable of Radio buttons.
hope this helps you
vicky
0 Kudos
Message 2 of 8
(3,788 Views)
hi there,
from what i have understood from your query , u basically want a string selection for the radio button.
attaching two examples.
hope they are useful to you.

p.s. if not satisfied plz xplain ur problem a little more xplicitly.

tanisha
Download All
0 Kudos
Message 3 of 8
(3,788 Views)
You can get a list of Radio Buttons boolean text using Property Nodes, then search this list(array) to get the index number. See attached example.
- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 8
(3,788 Views)
Try adapting this set of VIs to your application. If you need to set the buttons to a value before you enter your program, right click on the state machine input and create a constant. It should also work with a local variable.
Download All
0 Kudos
Message 5 of 8
(3,790 Views)

Hello,

I has 6 Butten each Button with activates writes value.  For example:  N=3 P=2 N=1 R=6 however the Button are with switch =1 or 0 thus as can I the 6 radio Button realize, so that I each time, if button activate became, which can write appropriate value.    Someone has conception?       befaiz
 thanks

0 Kudos
Message 6 of 8
(3,585 Views)

Hello,

I has 6 Butten each Button with activates writes value.  For example:  N=3 P=2 N=1 R=6 however the Button are with switch =1 or 0 thus as can I the 6 radio Button realize, so that I each time, if button activate became, which can write appropriate value.    Someone has conception?    

   befaiz
 thanks

0 Kudos
Message 7 of 8
(3,583 Views)
You are looking for Boolean Array to Number.



In the future, please post your questions in a new thread, rather than as a reply to a two year old thread.

Message Edited by jasonhill on 07-27-2006 08:15 AM

0 Kudos
Message 8 of 8
(3,578 Views)