LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting strated with swept sine

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.........

     

0 Kudos
Message 1 of 4
(2,585 Views)
Here is another modified subvi
0 Kudos
Message 2 of 4
(2,583 Views)
Here is another modified subvi just replace the subvi's with these and watch the response.......
0 Kudos
Message 3 of 4
(2,583 Views)
hi there i have solved the first problem of my VI now i will again try for the second issue and let u know if i have any problem.......sorry for bothering u all......
0 Kudos
Message 4 of 4
(2,572 Views)