07-24-2009 07:55 AM
Hi,
I have done the frequency response analysis for a device using the frequency response example from sound and vibration toolkit and i get multiple
phase values at one frequency how can i reduce it to one value without any error i am posting the result from the experiment please check
and give me suggestions are the stimulus and response phase values supposed to be like that????
07-24-2009 02:45 PM
07-24-2009 02:48 PM
07-24-2009 11:28 PM
Hi Matt,
I mean to say for one frequency value i get many phase values for ex if u look at the screen shot Freq resp results.JPG (260 KB) we can see for at frequency 8Hz i have 14 phasevalues why do i get like that.......even i thought i have to take average but there is too much of variation and also are the phase values supposed to be like that....
07-24-2009 11:31 PM
07-25-2009 12:10 AM
Hi Matt,
I mean to say for one frequency value i get many phase values for ex if u look at the screen shot Freq resp results.JPG (260 KB) we can see for at frequency 8Hz i have 14 phasevalues why do i get like that.......even i thought i have to take average but there is too much of variation and also are the phase values supposed to be like that....
07-25-2009 12:33 AM - edited 07-25-2009 12:35 AM
SK,
You have serious problems in your File.VI. Why are your writing to your file and then reading it right back? Worse, there is no guarantee that the File write will actually occur before the File Read. You have a race condition set up there between those two Spreadsheet File VI's.
If you want to maintain a history of whatever has already been written to the file, you should be building it into an array and storing in a shift register. Even if your File.vi would by chance work the way you want it to, storing data in the file system is much slower than maintaining your data in memory.
As for your while loop, it is going to run as fast as it can with respect to all the functions occurring inside of it. Is it possible you are getting 14 iterations of that while loop for each frequency step that is occurring?
07-25-2009 12:51 AM
Hi,
yes i am talking about the phase difference only how do i reduce it to one value automatically w/o taking the avg.