12-02-2010 01:13 PM
Yes I can edit but the timer stops counting. I want the stopwatch to keep accumulating the time even when it is reverted. The time goes back to the old value if the Boolean control is pressed again. I want the change to be permanent.
12-02-2010 02:12 PM
12-02-2010 02:26 PM - edited 12-02-2010 02:27 PM
richjoh: You didn't attach a picture.
The Timed Array in the Main has to be wired to a shift register (or feedback node) and fed into the subiv so that the subvi can record the newly edited time. Then the subvi has to be modified to use this time to update. Sorry I don't have "time" to work on this problem. But this is a good start.
Edit: I just noticed that the subvi is set to re-rentrant. Set it back to normal or you will never get the feedback input into the subvi.
12-02-2010 03:54 PM
Picture?
mhaque
12-03-2010 09:28 AM
12-06-2010 02:04 PM
Hi mhaque,
Are you trying to have each subVI modify the same set of times? If so, then you don't want them to be reentrant. How are you trying to use this subVI? I've been a little confused by the posts so far.
12-08-2010 01:22 PM
Lets avoid the subVI and go back to the basics.
How do I change values in an indicator array that is running a stopwatch where time is accumalating? After the values are changed, the stopwatch should keep accumalating the time. i.e the change is permamnent.
I cannot use an event strucutre.
mhaque
12-10-2010 07:03 AM
Hi mhaque,
From the VI that you submitted, you would need a way of incrementing or decrementing the initial time array. This could be changed by simply using a state machine in your VI, where one state would modify the initial time array to adjust the output, while the other would operate as you currently have it.