10-28-2011 03:59 AM
Hi
I am trying to do a phase delay measurement between the two channels of ni 5114 scope card. I am using one of the example in Labview 8.5, niScope EX Measurement Library.vi. I get right results if I have two sinusoids of comprable amplitude on the two channels. But in my real situation, on one channel I have sinusoid of ~10mv peek to peek and on the other 1V peek to peek. (i.e. 100 orders of magntude difference). So program is giving me errors. I tried to play with array gain and digital gain on one channel but no luck. Is there any way to amplify one of the channel? or what else can I do? I would really appreciate your suggestions.
Thanks
Best Regards
Imran
10-28-2011 08:32 AM
The internal measurement libraries assume that the signals you are comparing are essentially the same, and are probably setting the levels using your larger signal. Some things you could try:
Good luck.
10-28-2011 05:35 PM
Thank you for your reply. Is it the Tone vi in signal express for the phase meaurement? Also my scope card is 8 bit. Do you think averaging of acquisitions will improve the qunatization error? or is there any other trick in Labview I can use to decrease the quantization error.?
Best Regards
Imran
10-31-2011 07:49 AM
My apologies, it appears I was mistaken. All the scope measurements but the phase are available as VIs. To get the phase difference, you have a couple of choices:
Averaging acquisitions will improve the quantization error. However, be aware that there will be temporal jitter of about ±½ sample period, so your waveform will also be smeared a bit in time, causing features to be slightly flattened in the averaged result. This may be insignificant to you. If it is not, assuming your internal time to digital converter (TDC) is on, and it should be, your timestamps will have about 40ps resolution, so you can use this information to correct the smearing through resampling before averaging, should you choose. It might be easier just to take data at a higher rate.
My apologies again for sending you down the wrong path. Let me know if you have further questions.