05-26-2013 01:55 PM - edited 05-26-2013 01:56 PM
I have developed my own microcontroller based board which sends my analog signal to the PC.
I want to analyze this signal in labview and want to find its parameters.
Kindly help me what steps should I follow to analyze my signal
05-26-2013 02:02 PM
You need to tell us what kind of analysis you want to perform on your signal. LabVIEW has many kinds of signal analysis functions and VI available.
Lynn
05-26-2013 02:08 PM
Actually I want to initiate the sampling of my analog signal,for that I need to know the frequency of my signal!
Just for the sake of finding the frequency I want to know which parameters are required?
05-26-2013 02:29 PM
It does not work that way! To reconstruct a signal from its samples the samples have to be taken at a frequency which satisfies the Nyquist criterion: The sampling frequency must be greater than twice the highest frequency in the signal.
The problem with sampling at a lower rate is that an effect called "aliasing" will occur which makes the signal look like a real signal but at the wrong frequency. Aliasing cannot be "processed" out later.
You probably have some idea of the maximum possible frequency for your signal. Set your initial sampling frequency to be greater than twice that maximum frequency. Then you can determine the frequency of the signal and reset the sampling frequency to a lower value if appropriate. Be aware that the Nyquist criterion applies to all signals and noise which appears at the input to the A/D converter. Example: Suppose your signals are guaranteed to be less than 100 kHz. You could start with a sampling frequency of 201 kHz. If your measured signal was at 500 Hz, you could lower the sampling rate to just over 1 kHz. However, any noise or interference in the 501 Hz to 100 kHz band will get into the A/D converter and will appear as an aliased signal or noise in the 0-500 Hz band.
Unless you know the higher frequency noise and interference is very low, you need to change the anti-aliasing filter when you change sampling rates.
Lynn
05-30-2013 01:17 AM
Dear johnsold, thank v.much for your kind reply
I think i was unable to clear my Question.
I am having an analog signal whom i want to analyze, for that purpose, i send the signal through my microcontroller board to the P.C.
I used the serial VISA to receive the signal and finally plotted it on waveform Chart.
Now i want to find out its parameters and perform analysis of my signal
I wanted to know what are the necessary steps i should follow now.
Regards
05-30-2013 07:53 AM
tanzeela,
It appears that you are able to transfer the data from the microcontroller to LabVIEW via a serial connection and have displayed it on a Chart. To perform an analysis on that data use a property node obtained from the Chart. Select the History Data property. The output will be an array of the data put into the Chart. The default chart history length is 1024, meaning that the last 1024 points will be included in the History Data. If you have received fewer than that many points, the data will only include as many points as you have received. You can change the History Length by popping up on the Chart.
The array of data you get from the History Data property noed cna be used for any kind of analysis you want to do. It will not include any timing data. You will need to add that information if you are doing an analysis which depends on timing, such as filtering.
Lynn