LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple inputs in one control

Hi

     can anyone tell me how can i create multiple inouts in one control that should appear on the front panel.it should look like the one below: the three inputs should be on one control only

                           

                                              untitled.JPG

Regards
RobinHood
0 Kudos
Message 1 of 25
(6,510 Views)

Robin Hood wrote:

Hi

     can anyone tell me how can i create multiple inouts in one control

                           

                                             


Hi.

 

I know how to create a block diagram element consisting of several controls/indicators with only one "input" (one wire, to be more specific) to it. But how to create three inputs to a single element...

 

Well, maybe a cluster consisting of three controls is what you need. This is how it would look like on a front panel:

cluster.jpg

 

But you would have only one "output" (or "input", depending on if it is a control or an indicator) from the cluster itself in the block diagram:

cluster block.jpg

 

To be honest, it's a bit hard for me to understand what you really need.

---

While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that... 🙂

Chart zoom with "Mouse Over" effect
Message 2 of 25
(6,501 Views)

Same ting came to mind.  A cluster with three controls.  Can you elaborate on the " multiple inouts in one control"?  The controlcan either be an input (control) or an output (indicator), but not both at the same time.

 

That being said, if the cluster is an input, all controls within it are inputs.  You cannot mix them.  (unless you want to cheat, but that is beyond the definitionof controls & indicators)

0 Kudos
Message 3 of 25
(6,489 Views)
I want place those three inputs on one panel like thing.and i dont want that numeric control bcoz it is having pull down/ip button.i dnt want that.i simply want a box where i can enter my numerical value
Regards
RobinHood
0 Kudos
Message 4 of 25
(6,460 Views)

> i dont want that numeric control bcoz it is having pull down/ip button

 

To get rid of the increment/decrement button - right click and select Visible Items. Uncheck "Increment/Decrement"

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 25
(6,455 Views)

stevem181 wrote:

> i dont want that numeric control bcoz it is having pull down/ip button

 

To get rid of the increment/decrement button - right click and select Visible Items. Uncheck "Increment/Decrement"

 

steve


Wow..  I didn't get that..  I didn't know what the pull down/ip buttons meant. 

Good catch!   😄

0 Kudos
Message 6 of 25
(6,439 Views)

Hi

     I've attached one vi here(labview 2009).the front panel is having one radio button and if  I select "test with user defined values" , start frequency, stop frequency and step size altogether should show up on one panel sort of thing.can u verify this code bcoz I'm not geetin the output

Regards
RobinHood
0 Kudos
Message 7 of 25
(6,418 Views)

Because the terminal for the radio buttons is being read outside the loop.  Once the while loop starts, the terminal is never read again, so it is always its original value.

 

You should also put a wait statement inside the loop so you aren't running it infinitely fast just polling the status of the radio buttons.

 

PS:  Please use English words u = you, bcoz = because

Message Edited by Ravens Fan on 02-12-2010 12:38 AM
0 Kudos
Message 8 of 25
(6,410 Views)

Attached is a modified version of your code.

 

As Ravens Fan noted, the reading of the Test Selection control needs to be in the while loop along with some delay. Also by placing the "visibility" property nodes outside the case statement you can set them for each case.

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 9 of 25
(6,402 Views)

Hi steve,

               In the code you've edited  the three controls are showing up together.that's ok. But the the background of these is not disappearing when we don't select the "test with user defined values".How can I disappear the back of these three controls

Regards
RobinHood
0 Kudos
Message 10 of 25
(6,347 Views)