LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem on Normalized Frequency to original analog frequency

I'm having a problem regarding normalized frequency.

 

The Sine wave .vi, says that the input to the frequency  must be a normalized frequency. What I did is tha I divide my frequency to the number of samples.

However, when I attached Tone Measurements to output signal of the sine wave, I'm not having a frequency of what i set. 

 

In my example my input frequency is 60 Hz however what was detected by the tone measurement was the normalized frequency which is 0.06.

 

How do I modify this VI, in order that i will have a frequency in 60 hZ, 

 

probelem.png

0 Kudos
Message 1 of 6
(3,380 Views)

Anyone please help?

0 Kudos
Message 2 of 6
(3,358 Views)

The problem with trying to calculate a frequency is that you need a time element.  You don't have a time element.  So I'm thinking 1 sample/second is used.

 

Try using the Sine Wave.vi (it is in the Signal Processing->Waveform Generation palette).  With that function, you need to supply the sample rate and the actual frequecy that you want.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(3,351 Views)

You have any other ideas regrading this matter?

0 Kudos
Message 4 of 6
(3,322 Views)

What was wrong with using the waveform generating function I suggested?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 6
(3,308 Views)
You already know how to add dt to a waveform so why aren't you doing it now?

http://forums.ni.com/t5/image/serverpage/image-id/161250i0CB6D7B4414D7F3D/image-size/original?v=mpbl...
0 Kudos
Message 6 of 6
(3,296 Views)