LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read boolean once

If a Boolean Value changes fom false to true is it possible to display a true boolean value for around 10 seconds then revert back to false whilst the original boolean remains true.

0 Kudos
Message 1 of 16
(3,396 Views)

Hi Connor1929,

see the attached example.

 

Mike

0 Kudos
Message 2 of 16
(3,386 Views)

Hi,

  Just have a look at the attachment.The express VI is configured for 10 seconds.

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 3 of 16
(3,383 Views)

Hi mike sorry im running labview 8.2 so cant open your example.

 

0 Kudos
Message 4 of 16
(3,370 Views)

Hi Connor1929,

attached you'll find the 8.0 version.

Where do you want to use it? Do you react on some hardware inputs?

 

Mike

0 Kudos
Message 5 of 16
(3,362 Views)

A Passcode is compared to see if it matches the stored passcode and if it matches it gives a true output and stays true until the wrong passcode is entered however I only want the true output to be available for around 10 seconds. I still haven't been able to execute this.

0 Kudos
Message 6 of 16
(3,353 Views)

Hi Connor1929,

did you see my example? Can you post your code or parts of it?

 

Mike

0 Kudos
Message 7 of 16
(3,330 Views)

Sorry Mike yeah I did see the code which works fine but the only problem is it gives a true output for 10 seconds when the Input goes from true to false also.

0 Kudos
Message 8 of 16
(3,327 Views)

Hi Connor1929,

next version with some minor changes.

 

Mike

0 Kudos
Message 9 of 16
(3,322 Views)

Hi mike sorry to bother you again thanks for your help so far but i've tried to replace the switch with the output from my passcode match and its saying that event structure and data node are unwired when I get rid of the switch. thanks

 

0 Kudos
Message 10 of 16
(3,302 Views)