LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean button

Hello, it´s me again.
I have a new question: Is there a way to create a boolean button which when
it is pressed immedeatley goes back to the default value ( e.g.
TRUE-->FALSE-->TRUE)?
I mean, when you click the button you should have FALSE just that one
reading (this function is to be implemented in a while-loop).
Thak you again!
/Peter Jansson,
Teracom Systemservice Malmoe Sweden
http://www.teracom.se
0 Kudos
Message 1 of 3
(2,805 Views)
>I have a new question: Is there a way to create a boolean button which when
>it is pressed immedeatley goes back to the default value ( e.g.
>TRUE-->FALSE-->TRUE)?
>I mean, when you click the button you should have FALSE just that one
>reading (this function is to be implemented in a while-loop).
Pop-up on the button and go to 'mechanical action'.
You can use 'latch when pressed', or more accurate for just one
reading: 'latch when released'.

Hope this helps!

Erwin.
0 Kudos
Message 2 of 3
(2,805 Views)
In article <963389852.705397@proxy2>, peterjan@teracom.se (Peter Jansson,
Teracom Malmoe) wrote:

> Hello, it´s me again.
> I have a new question: Is there a way to create a boolean button which
> when
> it is pressed immedeatley goes back to the default value ( e.g.
> TRUE-->FALSE-->TRUE)?
> I mean, when you click the button you should have FALSE just that one
> reading (this function is to be implemented in a while-loop).
> Thak you again!
> /Peter Jansson,
> Teracom Systemservice Malmoe Sweden
> http://www.teracom.se

If you select the mechanical action to be latch when released, when the
boolean is read it will return to its default.

Try looking at the mechanical action of booleans example to see how the
different mechanical actions alter the way the switc
h functions.

Cheers

Bill

wsymonds@clara.co.uk
0 Kudos
Message 3 of 3
(2,805 Views)