11-30-2009 12:24 AM
Hi everyone,
I performed the frequency response on my device and it works fine but i want to make slight modifications in it
1. When i run the frequency response VI then initially it should start with 0.5Hz and continue to run with 0.5hz until i need, there is no problem with this
what i have done is i used the first call to set the start and stop frequency to 0.5 and number of steps to 100.........now i modified the VI
so that during run-time suppose i change start frequency to 30Hz the number of steps also changes according to it with stop frequency being the
same and the swept sine response should start then and it is happening but problem is the 0.5Hz signal drops to zero and only then the response starts
what i need is the response should immediately start from 0.5Hz at the instant when i change the start frequency without falling to zero......
2. after the response is done top-down the signal should not stop at zero it should continue to run at 0.5Hz till i press the stop button i have achieved to run the
VI at 0.5Hz without stopping it by modifying the subvi's now when i press stop button the VI should stop only when frequency and amplitude of the signal is zero i have tried to do so but in vain
can anyone help me with these two problems........
I will attach my modified VI then you will understand completely first just run the vi and after sometime change the start frequency to 30Hz or any number you want and watch the signal dropping to zero and continuing with the response.....then finally when the signal reaches 0.5Hz press the stop button to see the signal drop to zero but the VI doesnt stop running........
just check it out and let me know if you have any doubts.........
11-30-2009 12:25 AM
11-30-2009 12:27 AM
11-30-2009 02:33 AM