annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Envelope of an waveform is in XY graph and need it in waveform graph

Risolto!
Vai alla soluzione
This one should be a little closer to what you want. I figure out the frequency of the waveform to calculate the envelope. I am not sure where the 30 came from either. I am measuring the period for the frequency and using that as my input to calculate the envelope. We get a much better fit this way.
Tim
GHSP
Messaggio 11 di 25
1.345Visualizzazioni

Frequency is 13.56 MHz.

 

From the oscilloscope i read the waveform data using drivers for the scope. That part is not a problem for me. I got the waveform that i attached as input in my above post.

 

1) From the old set of drivers, the waveform obtained is Amplitude vs no. of samples. Your example XY Envelopes from waveform.vi worked perfectly for that. Also for 2500 points, it is perfect. And if I change the resolution (ie increase the number of samples) from 2500 to 2M, it will not work, since we need to change the input to the for loop which you gave 30 previously, which needs to be changed and which i need to understand. oops am i confusing here?

 

2) Leave the first part, now we are going to work only with the latest drivers. So the waveform obtained from the scope will now has amplitude vs time only. A sample waveform i attached in my previous post vi. How to plot the envelope for this waveform and then once we got the envelope we can then use the same one to measure the value of t1.

 

Thanks a lot for looking into this.

 

Please post and ask me with more questions, if my answers are not sufficient.

 

Mathan

0 Kudos
Messaggio 12 di 25
1.344Visualizzazioni
I have tried to simplify what we are doing and I think this one should work with any frequency and ammount of data assuming that I will get a few sine wave to calculate the period.
Tim
GHSP
Messaggio 13 di 25
1.338Visualizzazioni

Dear aeastet,

 

First of all thanks a lot for your continuous support.

 

Your vi works like a charm for the previous waveform as i mentioned in the vi. But when i run the same with the current waveform, the vi reports memory full error.

0 Kudos
Messaggio 14 di 25
1.331Visualizzazioni
Now I understand what you are looking for try this.
Tim
GHSP
Messaggio 15 di 25
1.323Visualizzazioni
Soluzione
Accettato da autore argomento Mathan
Use this one instead. I adjusted the peak value on the top to adjust for the offset caused by the shift of the sine wave. You will see that is much closr to the real curve now.
Tim
GHSP
Messaggio 16 di 25
1.313Visualizzazioni
All i can say is Vow..... Smiley Felice I love you so much. Smiley Strizza l'occhio Eventhough i am working in LabVIEW for more than 2 years am still learning new things daily. I got a lot of inputs from You, David and Thomas in regard with this waveform processing. Thanks a lot. As i told before i will now close this thread by marking solution and kudos to all.
0 Kudos
Messaggio 17 di 25
1.304Visualizzazioni

Dear aeastet,

 

There are no problems when i ran the program lot of times. But for a certain waveform obtained from the oscilloscope the 5% of the rising edge is not correct due to the envelope of the waveform. Kindly see the attached file. Any method to solve this problem?

 

Thanks again,

Mathan

0 Kudos
Messaggio 18 di 25
1.279Visualizzazioni
I have a meeting right now. I will fix this as soon as I get back in about an hour from when I sent this message. It should be realitvely easy.
Tim
GHSP
Messaggio 19 di 25
1.269Visualizzazioni
Thanks a lot very much. Eagerly waiting for your reply. Smiley Felice
0 Kudos
Messaggio 20 di 25
1.267Visualizzazioni