09-11-2012 04:49 AM
Hello,
I have a NI5112 and I want to measure the frequency of an oscillator across it. Can anyone tell me how can I use NI5112 to measure the frequency of an oscillator?
Regards
Solved! Go to Solution.
09-11-2012 07:02 AM
The 5112 is a digitizer. So you would have to capture a waveform and perform measurements from there. I doubt you are doing all of this in TestStand. What other languages are you using? LabVIEW has some VIs already made to get the frequency reponse from a waveform.
09-11-2012 10:38 PM
I have installed NI-SCOPE driver software and I'm writing the program in Visual C++. You are saying me to capture the waveform and perform measurements but how can I do that? As the oscillator frequency is measured across 2 ends of the oscillator you are saying me to place one channel across one end and measure with respect to ground and in the same way placing other channel to other end and measuring with respect to ground and finally summing up both of them? If it is the case then how can I do that practically?
09-12-2012 12:38 AM
Hi,
There can be many options in which you can look into. Here I'm discussing two ways to measure the frequency that you can use...
1. You can use MAX in ouder to measure the inputs that you provides across the two terminals of 5112.
2. You can write a small code in order to mesaure the amplitude and frequency of the input. You can also include ActiveX Controls in order to log the data in excel file.
I'm attaching a code that you can refer to understand how you can use the latter method.