02-09-2009 07:23 AM
HI
I am trying to create a virtual timer+ counter,
I want the wave be counted in amount of time, for example 10 seconds.
Now I am trying two while loops.
one for timer, one for counter.
but it does not work.
Can anyone help me?
Thanks!
the attachment is the simple vi.
Solved! Go to Solution.
02-09-2009 07:58 AM
Hi cynitha,
you should think about the data flow. If you need parallel processes, then you have to use parallel loops, not one inside of another one.
Mike
02-14-2009 04:55 PM
Thanks for reply 🙂
I found what I want.
the attachment is the vi.
Now I want to add one more feature to the simple timer+counter.
I want to repeat the counter as many times as I want and save the info to a table. For example, run the program 5 seconds 10 times. The program stops with 10 counts data shown in the table.
Could you please provide any suggestion how to make it?
Thanks
cynitha
02-14-2009 05:46 PM
02-16-2009 06:33 PM
Thanks for reply, Venky.
But I am afraid my expression was not clear.
What I want is to count the amount of the signal (pulses) in a certain time. and I can repeat the measurement as many times as I want. the final result can be shown in a table as the attachment, which repeats the measurement 5 times.
Could you please give any suggestion?
Thanks
Cynitha
02-16-2009 08:11 PM
02-17-2009 06:26 PM
Thanks very much! Venky
it is what I want!
Thanks for quick response, too.
Regards
Cynitha
02-17-2009 06:34 PM
Now I want to write the data to file.
could you please let me know how to make it?
Thanks
Cynitha
02-20-2009 11:00 AM
02-20-2009 05:16 PM
Thanks for reply, Venky. 🙂