Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can anybody modify my vi for the counter/timer?

Hiii, Everbody
 
              Can anybody please modify my for the counter/timer,here this vi is working perfect for the timer of 1 sec, but i want it without while loop, so can anybody modfiy that the timer remains still of 1 sec, but it must be without while loop.
 
Thanks,
Nishant
0 Kudos
Message 1 of 4
(2,896 Views)
Hi Nishant,

What is it that you are trying to do with your application?  Why can this application not be within a loop?  Could you document your code or explain it a little better so that we can see what is being accomplished in the VI?

Thanks, I look forward to being able to help you,
0 Kudos
Message 2 of 4
(2,883 Views)

Hii, Otis

      Actually i require a timer, which rotates at each second, and rotate for required second by me, now here in the vi counter_timer i have made a counter, which rotates for # of times i require for, now in the call_counter.vi calls that counter_timer and give it the input as # of seconds to rotate,at first call the vi runs perfect, give me the result after completing that iterations,but it still keeps rotating again and again after it has done, i want it to run only once the no of times i want, and then to stop counter_timer.vi, but it runs continuously, thats why i dont want the while loop, which keeps rotating the vi.

Thanks,

Nishant

0 Kudos
Message 3 of 4
(2,880 Views)

Hi Nishant,

If you want to just remove the while loop from your current VI, then just right-click on the while loop and "Remove While Loop".

If you are just trying to get some sort of timer to see if a certain amount of time has passed, then please check out the "Elapsed Time" VI located in the Timing Subpalette in LabVIEW.  If you need more help on how to use it, open Context Help (Ctrl-H) and follow any necessary links.

Regards,

0 Kudos
Message 4 of 4
(2,863 Views)