01-06-2010 09:36 PM
Solved! Go to Solution.
01-06-2010 10:40 PM
01-07-2010 01:10 AM
Hello,
I read your problem carefully & understand it but I Can't see your attached VI due to your higher version of LabVIEW. So I just implement you logic and attached my VI. It may help you.
Thank you.
01-07-2010 07:35 AM
Hello,
I tried your suggestion previously and it does not work because it only uses the initial value of the frequency.
Thanks,
Chuck
01-07-2010 07:52 AM
Vinal G,
The problem is that the initial value of the frequency is changing outside of the loop, that is why I had to use a local variable.
Thank you,
Chuck
01-07-2010 09:17 AM
I changed a few thing about your VI.
First: When you put the 1000 msec delay in the loop it will not be exact timing. I would use the clock. This also allows for you loop to exicute faster so that you can evaluate the frequency faster and respond faster than one second.
Second: I removed the true false case structure for the frequency evaluation and replaced it with a greater than compairison.
Third: I moved the control into the loop.
01-07-2010 09:20 AM
01-07-2010 09:38 AM