05-28-2008 08:25 AM
05-29-2008 10:42 AM
05-29-2008 12:25 PM
05-29-2008 01:19 PM - edited 05-29-2008 01:19 PM
05-30-2008 06:34 AM
05-30-2008 12:17 PM
Hi Pramod,
I recommend taking the output of the Distortion Measurment VI and building an array with it. You will also need to use a shift register to retain the values in the array. Attached is an example. Let me know if you have any questions.
06-05-2008 08:36 AM
06-05-2008 03:23 PM - edited 06-05-2008 03:23 PM
Hi Pramod,
Here is a slightly modified method. It retains the time base for the readings by keeping the data in the waveform data type. If you want to use the reading for any math you will need to extract the array of values from the waveform.
The shift registers are the boxes located on the while loop that contain up and down arrows. They are used to retain the value you put in them, for use in the next loop iteration.
Use shift registers on For Loops, While Loops, or Timed Loops to transfer values from one loop iteration to the next.
Complete the following steps to create a shift register.
You can use multiple shift registers to remember iteration values and you can use an initialized shift register to reset the initial value of a shift register.
Let me know if I can help with anything else.
06-06-2008 01:26 PM
06-09-2008 11:19 AM
|
t0 |
A Time Stamp representing the time at which the signal measurement starts |
|
dt |
A double numeric that describes the difference in time in milliseconds between each sample in the signal |
|
Y |
A 1D array of doubles that contains the values of the samples of that signal. |
As for measuring frequency, there are many functions for that as well. If you search the help for frequency you can find many examples of measuring frequency.
Regards,