Frequency of the oscillator NI5112


I have a NI5112 and I want to measure the frequency of an oscillator through it. Can someone tell me how I can use NI5112 to measure the frequency of an oscillator?



It may have many options in which you can look into. I'm talking here about two ways of measuring the frequency you can use...

1. you can use MAX in older to measure entries that provides you with two terminals of 5112.

2. you can write a little code in order to follow-up the amplitude and frequency of the input. Alternatively, you can include ActiveX controls to connect data in excel file.

I enclose a code that you can refer to understand how you can use the latter method.

Tags: NI Software

Similar Questions

  • Satellite P300 - 23L - adjusts the frequency of the music

    Hey, recently bought a toshiba p300 - 23L.

    Listening to my music through speakers the impressive laptop I noticed that the laptop seems to set the frequency of the music according to the high and low points of a song? I can see why this was presented as a function, but it made my ears go funny and I don't like.

    Can someone tell me if I can disable this option at all, and if so, where, I do this.

    Other than the laptop has an audio system coming out, just like shame it varies throughout each song!

    Thank you all,



    Are you sure that the music files are not reported in the different volume levels.
    From my experience, no all songs have the same volume level.
    My MP3 don t even support files volume most of the files are different

    To be honest I have never heard that the laptop would control automatically the volume level according to each song

    However, the P300 should contain an Audio chip (can be found in Control Panel).
    Check that maybe you can change some parameters here.

    Welcome them

  • VI to convert input signals NI 9402 in a RPM value, based on the frequency of the pulses


    I'm looking for a VI convert an input signal NI 9402 in a RPM value, based on the frequency of the pulses. Is there such a thing that exists in the library of national instruments?

    I run LAbview 2014 integrated control and monitoring on on a cRIO 9802 high performance integrated system with NEITHER 9402, 4 channels, 50 LV, LV TTL Module input/output digital, ultra high speed digital i/o for the cRIO module.

    Any help would be greatly appreciated.

    The easiest way is to use the FPGA to get the time between the edges of your pulse increase (shift registers to maintain the current situation and the time will be necessary).  This will give you the period.  If it's a single pulse per turn, then the number of laps is just 60/T, where T is the time in seconds.

  • Measure the frequency of the pulses PXI-6624

    Hello.  I work with a PXI-6624 and am interested to make measurements of pulsed frequency for frequency and duty cycle on its inputs using DAQmx.

    When I go to create the virtual channel, however, I have error-200431:

    "Physical channel selected does not support the type of measure required by the virtual channel you create."

    ' Asked the value: pulse frequency.

    «You can select: frequency, period, pulse width, period of Semi, separation of the two edges, Position:...» »

    Is this card really not capable of doing these measures of pulse frequency?

    Yes, the "Pulse" (not to be confused with "Pulse Width") measure was introduced with STC3 of OR including CompactDAQ and X series devices.

    Measuring the pulse:

    However, you should always be able to measure the frequency and the duty cycle on your card with a half measure:

    The half measure:

    The images are in the X Series user manual.

    The difference between these two modes boils down to how the data is stored and implemented in buffer on the map - with the period semi method that the material does not distinguish between high and low samples and puts everything in a single buffer.  However, if you start the meter on the song (see below the node property), then you would know the order of low and high samples in software, and are easy enough to calculate cycle frequency and the duty of this.

    Best regards

  • Get the value of the frequency of the power spectrum

    I'm rather new to LabView and want to measure the frequency of the peak in a spectrum of power of a real signal. In addition, I want this value of frequency and amplitude to save to a file. Right now I am able to trace a spectrum of power using an express VI, which gives me the correct frequency value in the graph.

    However, I'm not able to extract the value of the frequency with different screws, I found in LabView after browsing through the various discussions in this forum. Can someone tell me please in the right direction? I use a digitizer NI PXI-5124 to record the signal in a rack of NOR.

    If it is the dominant frequency you are looking for you can use the vi extracted a single signal. You can also change this vi to include the details of the search if it isn't the dominant frequency, I have not included it in my example, but you can check it in the help file.


  • effects of sampling frequency on the convolution of waveforms (need feedback from a GURU of signal processing)

    I have included my code as version 8.5 for those who have not yet upgraded to 8.6.  I have also included some screenshots so that you can replicate the results I got.  I hope that some signal processing guru can shed light on what I mention it further.

    This VI convolves the signal of impulse response of a simulated servomotor which is essentially a damped sine the input pulse which is a step function.  The signal resulting convolved should be IDENTICAL to that of the step response of the engine which is RED on the display 1.  As you can see the convolution that results in table 2 shows the same structure of frequency, but its magnitude is INCORRECT.  As you can see in the catches of 2 screen sizes differ by a factor of 2 & done the sampling frequency of the wave.  Why the sampling frequency, impact on the scale is also very strange & disturbing.

    Would appreciate any corrections & explanations so that I trust the convolution of the other wave forms of entry than just the step function.

    OK, I think I have it working now.  Your premise on the effect of sampling on the derivative is not the issue.  Does it affect what the FREQ of levy is the basis of time of convolution.  As the convolution product is not continuous but discrete the length of the array should be taken into account & the sampling frequency must be consistent with this length of array as well as 1 second corresponds to 1 second.  If sampling freq is 2 kHz & the length of the array is 1000 then to get the correct time base by a factor of 2 must be taken into account.  In addition, to take account of the DC, shift of the ZERO gain factor must be added to the convolved signal to get the correct size.

    Thanks for making me think more deeply.

  • How to find the ratio between the two frequencies in the fft

    Hi, I'm Jean,

    I need to find the ratio of the frequencies of 1st and 2nd graph fft.

    Already, I received information of this site only. Mr. Alten helped me.

    Now, I have to continue the same problem and need to find the ratio of the frequencies.

    Please someone help me guys...

    I will attach my vi file and the text file.


    Should you report the frequencies or the report of the amplitudes of the components at these frequencies?

    The of your multiple for the Signal Processing, extract > range of measures of waveform should do what you want.

    The frequency resolution is not very good because you have cycles relatively little waveforms (2 ~ for the lower frequency). I added a few zeros to improve resolution, even if a larger sample of data would be better.


  • Collect data from specific frequency of the power spectrum


    I want to know how to collect data from specific frequency of power spectrum file. I'm trying to separate data from specific frequency of the original file.

    This will depend on much how your data is stored. You will need a way to read the file in LabVIEW and then a way to identify the data you want. I often record data in a .csv file, then I use "Reading worksheet" to get the data in a table. Then, you can simply use 'Index Array' to get the datapoints you need.

  • Measurement of frequency with the NOR-6221


    I would use the OR-6221 to measure the frequencies of the order of 200 Hz to 12.5 Mhz.

    Is this possible?

    Can you guide me were to start?

    There are notes of application with examples?

    The required accuracy is not high 0.5 percent more or less...

    Thank you


  • Doubts about the sampling frequency when the production and acquisition

    When the generation and acquisition of samples, the maximum sampling frequency is the maximum sampling frequency Council divided between the generation and acquisition of task number?

    Thank you

    Hi Houari,

    You should read the specifications of your box DAQpad!

    It is clearly said: entered analog = 200kS/s rate sampling, but analog output = sample rate of 300 s/s or even just 50 s/s for the hardware timing!

  • Capture of frequency with the NI 9401 in cDAQ-9172

    Hi all

    I searched through all the examples and find the same results than my own code in Labview. So, I go back to my hardware to solve my problem. I use a digital tachometer that displays pulse with 2 wires (hot and ground). I connected these to the NI 9401 for 16 PINS for PFI 1 and PIN 3 on the ground. When I open the module through MAX, he reads the perfectly when hi and lo as well as count properly if it is placed in the location 5 or 6.

    However, I try to use the frequency max task and the task fails to capture anything in the table. I get a time-out error, even if my tach is read correctly. I have attached my settings of the task. Thanks for any help

    Your samples to read is set to 100.  If all the samples of 100 are not available before the timeout is reached, you will get a time-out error.  What is the frequency of the input signal?  Maybe just try to read 1 sample on request first.

    Best regards

  • How can I extract the frequency of the FFT function?

    Hi all

    How can I extract the frequency of the FFT function in labview?  Thanks in advance


    If you have the f0 and df, you can find your frequency as you would find the time with a waveform based on t0 and dt.  You just need the index of the data point in that you want to get the frequency.  The frequency is then f0 + x * FD, where x is the index of the data point you are interested in.

  • Looping/cycling through frequencies with the signal to create VI


    I am trying to operate a PZT with a given signal (of a formula) and to save the output of the sensors. I use a PXI of NI 5421 to generate the signal and an NI PXI 5105 to record signals. I made the attached code that works well, however, I'd like to be able to the frequency and the number of samples (the number of samples is function of frequency) in the VI of signal to create loop so that I can scan a range of frequencies. Could you please help me. I can't find a way to control the frequency outside the edit in the Properties window.

    Thank you


    Sanjay-thank you

    I just thought of it. I Redid the vi and when I ran an error that said come the input signal must be an integer value to a multiple of 4. I made a few simple changes to make and after that everything worked as expected. I guess that the entrance of waveform looked ok but not get operated by material, unless it is a multiple of 4.

    Thanks for your help,


  • How to find the frequency in the cureent network band to blackberry.


    How to find the frequency in the cureent network band to blackberry.

    There is no API that exposes this information on a BlackBerry smartphone.

  • How can I change [frequency] on the audio spectrum?

    How can I change [frequency] on the audio spectrum? I really need an easy way to solve this problem

    After Effects has a very limited set of audio tools. Your only option to change the Equalization inside AE is to apply one of the equalizer and then before dialing the audio track that you use to the reader of the Audio spectrum. It's a little awkward, but it keeps all the controls inside the AE and keep them editable.

    Personally, if I want to isolate the frequencies I always use the hearing to create an audio layer duplicate that has been optimized for the effect that I need to generate audio.

Maybe you are looking for

  • with Firefox 29 closing tabs got more complicated

    With the new design of 29 FF tabs do not show the close button (X) more when they are too many of them open. This makes tabs closure much more complicated than in the past. Now, I have to go to the first tab to see the button close or use the context

  • Compatibility with Windows Operating System of iTunes

    iTunes became incompatible with my Windows operating system in the last couple days, and I don't think that I've updated. iTunes is not yet open, and when I click to open a window opens asking if I would like to allow the program to make changes to m

  • HP LaserJet 300 colorMFP M375n: menu missing Scan for the print multifunction device

    I have several colorMFP M375n of HP LaserJet 300 printers, I do not see the menu scan for a printer: With this printer, I can see the menu scan: What could be the problem with this printer?

  • I/o - error 1117 cannot start laptop AS5732Z

    Hello My Aspire 5732z laptop does not start. I tried running the recovery discs (created when buying) but it tells me failed to restore (after disc 2 of 3) and error message indicates error 1117 IO error. Is there something else I can try please? It

  • How Downgrade Momentics 10.1 10.2... Seriously... It is a disaster.

    Where can I download Momentics 10.1?  10.2 is a disaster... I updated via the update site and that you do not have a copy of my 10.1 installer.  Ive lost 2 full days for this IDE. My project was built on It is not now build and run corre