annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

three position toggle switch

Normally in LabVIEW the Binary ( two position ) switches are available. But i need three position switch. like center, up and Down. Depending on the position i should get output. If anybody made custom made switches pls share it.
0 Kudos
Messaggio 1 di 12
7.512Visualizzazioni
Hello Bose,

you may try a vertical pointer slide, set to integer representation. At least it appears similar to a switch...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Messaggio 2 di 12
7.496Visualizzazioni

@Bose wrote:
... i need three position switch. ... If anybody made custom made switches pls share it.


Bose,
The slider (or dial) with representation set to integer works for many and example attached.
If you want something that looks like a real 3-way vertical switch, the best is Ed Dicken's package available on the OpenG site here. I think (and stand to be corrected) the package uses some subVIs from the OpenG package, so you may need to download it as well.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Messaggio 3 di 12
7.490Visualizzazioni
Hi Bose,

I personally would choose a "Vertical Slide" from the "Classic Controls >> Classic Numeric" palette, to represent a multi-choice switch. Another great option is using the "Dialog Controls >> Dialog Vertical Slide" (see attached VI). It looks great on Windows XP (modern look), but be aware that its look is OS dependant, so it might not be desirable on your OS.

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Messaggio 4 di 12
7.447Visualizzazioni
Hi all,

count me in!  I just posted the following on another thread after searching "three-way switch" and not getting any hits....

Hi everyone,

I would like to build a three way digital switch, a rocker that is true when up false when down, but comes back to a neutral position.  Imagine a trim switch on a motor boat.  Logically, I can do this with two push buttons that switch until latched, but on the front panel this would result in two buttons.  I would prefer one button.  I notice however that the factuory LabVIEW rockers have only two positions.  Is there a way to modify these rockers into a sleek, three position switch on the front panel?  I can easily enough wire the block diagram...

Thanks,
Brad

As you can see by the description, it is not quite suited by the three-integer slide switch.  I am currently wiring the two push button option, and I will try to customize that into a single control.  I'll check back later to see if anyone has found a better solution before I get my wiring done.


0 Kudos
Messaggio 5 di 12
7.311Visualizzazioni
Here's what I'm working on.  It is clunky and maybe (certainly) someone can clean this up.  I will get back to it and try to make a custom control, although I haven't done this before and it may take a good while.  the four boolean outputs represent a power supply to two pins and a ground to the same  two pins.  Power can't be hooked to power and ground can't be hooked to ground, so this prevents those possibilities.  One push button switch creates a circuit across the two pins in one direction, the other creates a circuit in the opposite direction. 
0 Kudos
Messaggio 6 di 12
7.298Visualizzazioni

Brad,

I think you could easily implement what you are looking for by using a picture ring control containing pictures of the up, center, and down switch positions. An example of this has actually already been implemented and posted on this thread. It uses the classic control version of a switch, but you could easily apply the same concept to the modern version.

Kind Regards,

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Messaggio 7 di 12
7.271Visualizzazioni
0 Kudos
Messaggio 8 di 12
7.248Visualizzazioni
Perfect!  Just what I had in mind.  Thanks for the link.....

Brad
0 Kudos
Messaggio 9 di 12
7.234Visualizzazioni

here is a momentary 3-way toggle

0 Kudos
Messaggio 10 di 12
6.152Visualizzazioni