05-02-2010 04:36 PM
Hi Guys,
I need your help in fixing my boolean counter. In the attachments, I have attached a file which shows boolean counter implementation. The counter is stopped only on front panel when button is pressed and it does not stop in background.
Thanks
05-02-2010 04:50 PM
Fix what? You have not described what you want it to do. I don't understand 'it does not stop in background' and you have two buttons on the front panel and I don't know which one you are referring to.
And why don't you just use a numeric indicator for time?
05-02-2010 06:05 PM
Hi Dennis,
I have uploaded the file again.
1)Press the start button in vi to start the timer.
2)Timer is paused on pressing the start button again.
3)Press the same button again after 5 sec and you will see jump of 5sec in timer which is a problem.
The problem is that, although timer is paused on front panel but it is still running in background.I dont know why is it still running in background.
05-02-2010 06:59 PM
05-03-2010 03:12 AM
Hi Mimran,
I wrote an 'Pausable Elapsed Timer' vi a while ago. have attached below:
If you just want the timer to constantly count time and not stop when reached a set time, input the infinity constant into the target time input, as shown.
Rgs,
Lucither
05-03-2010 03:39 AM
Hi Again,
Looking at that old vi made me realise that i should update it to include an 'Auto Reset' input, so i did:
If you set the 'Auto Reset' to false this will give you what you are after.
Rgs,
Lucither