LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the frequency of an analogue output

Hi,
 
I'm trying to find the frequency of an analgoue output signal which is created using two Sine Waveform VIs. This VI takes Frequency  and Sampling Info as inputs. The Sampling info contains the Sample Rate and the Number of Samples. From one of the help topics on LabVIEW I found the following equation to calculate the output frequency.
 

Output Frequency = [Update Rate × Frequency] / Sampling Frequency

 
My question is what are the separate terms in the above equation?
I know frequency is the input frequency into the waveform generator VIs, but what about the Update Rate and the Sampling Frequency?
 
I've searched everywhere for any answer, maybe it's too trivial. Any help would be appreciated.
 
Ruf.
 
 
 

 

 

0 Kudos
Message 1 of 2
(2,489 Views)

Hi,

When you generate an analog output you have 2 steps:

1/ write sample into a buffer

 2/ transfer sample from the buffer to the DAQ device

To calculate the frequency of the output use the formula:

Output frequency = [(cycles) x (points per seconds)] / (points in the buffer)

You can have more detail in analog output generation in DAQ documentation.

Hope this helps

    Benjamin R.


Senior LabVIEW Developer @Neosoft


Message 2 of 2
(2,479 Views)