Re: Countup/down timer



Hi Jacktahoe,
what have you done so far? You can use a loop with an event structure. Use a parallel loop to run the counter. Use a case structure to switch between count up and down.
 
Mike
 
Hi Mike,
 
So far I have implemented a counter which can count both up and down and to do this I used case structure to switch between up and down. The only issue left unhandeled is that my counter doesnt let the user input the values in the countdown/up mode. If you can suggest me on how to do that. i tried using local variables to read the values from the window and rewiriting back, but everytime I do this it overwrites the new value (user input) with the old calculated values.
 
Thanks
.



Relevant Pages

  • Re: I want timer function to control LED ?
    ... One possibility would use an event structure and manipulate the timeout whenever the switch is changed. ...
    (comp.lang.labview)
  • Re: Increment from block diagram
    ... I'm currently trying to figure out how to start, stop, and restart an event structure or a while loop without stopping a parallel loop. ... Make sure to disable the control while its values are under programmatic control. ...
    (comp.lang.labview)
  • Re: hold a boolean output for 15 sec
    ... I understand you dont want a while loop iterating very quickly and a while loop can miss the false if it is only present for a split second, however an event structure will not miss the value change. ...
    (comp.lang.labview)
  • Switch to manipulate an eventcase structure??
    ... I'm working with labview 7.1 and,i'm developing a userinterface to controle af Flow meter (FLM). ... event structure to handle som buttons when pressed. ... i can without problems send the desired commands to FLM. ...
    (comp.lang.labview)
  • Re: Sub VI: button values remain from last call
    ... RIght now you are polling the buttons millions of times/second, consuming 100% of the CPU whil doing basically nothing. ... All you really need is a single event structure with a event that gets triggered by a value change of any of the two buttons. ...
    (comp.lang.labview)