cancel
Showing results for 
Search instead for 
Did you mean: 

mechanical action property

Electrode Man
Member

mechanical action property

Hello Labviewers
 
Does anyone know if this is possible:-
 
Two buttons, one button changes the mechanical action of the other button.
 
i.e button 1 is false then button 2 acts as a switch, button 1 is true the button 2 act as latch.
I want this in order to have one button that saves data in different ways, i.e button 1 could be 'save by pt' or 'save all' and button 2 is 'store'.
 
If I could use a property node for mechanical action it would be easy, but I can't find that. Smiley Sad
 
Any ideas anyone?
 
thanks in advance
Ieon
4 REPLIES 4
pincpanter
Trusted Enthusiast

Re: mechanical action property

Hi Leon,
here are two options:
1) button 2 is a switch, after saving a point copy button 1 value to button 2 via a local
2) create two button 2 exactly overlapped, say button 2a (switch) and button 2b (latch); depending on button 1 show one of them and hide the other; save on 2a OR 2b

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
altenbach
Knight of NI

Re: mechanical action property

Message contains an attachment
You could have both buttons as switch action. Now, if you want to use latch action, activate a case where the value is reset via e.g. a local variable.
 
See attached simple demo, LabVIEW 7.1.

Message Edited by altenbach on 11-11-2005 10:19 AM

altenbach
Knight of NI

Re: mechanical action property

Of course if you have LabVIEW 8.0, you could make an Xcontrol that does everything. Smiley Very Happy
Electrode Man
Member

Re: mechanical action property

Hi There
 
Thanks guys for your ingenious suggestions Smiley Happy, much appreciated.
I'll have a dabble to see which works best.
 
Thanks again
 
Ieon