02-24-2014 10:53 PM
Hi, now I am using the labview with myRio to generate PWM signal.
In order to figure out operating labview with myrio, I have tested some simple things.
What I found in the signal generation module is the frequency in labview is totally different the frequency of real time which is shown by ocsilloscope.
For example, let's assume that I generated sine wave form(amaplitude is 1)
if I put the 10.1(hz) as a frequency in labview, then real time frequency in oscilloscope measurement value was 10s(time)
if I put the 100.1(hz) as a frequency in labview, then real time frequency in oscilloscope measurement value was 2.5s(time)
if I put the 10.2(hz) as a frequency in labview, then real time frequency in oscilloscope measurement value was 5s(time)
if I put the 10.3(hz) as a frequency in labview, then real time frequency in oscilloscope measurement value was 3.32s(time)
if I put the 10.4(hz) as a frequency in labview, then real time frequency in oscilloscope measurement value was 2.5s(time)
if I put the 1.4(hz) as a frequency in labview, then real time frequency in oscilloscope measurement value was 716ms(time)
I can't find any rules from here.
How can I match up the frequency in labview with real time frequency measured by ocsilloscope.
also how can I generate sinewave form with high frequency such as 1Mhz or 100kHz etc..
Please help me.
I have attached my file.
02-24-2014 11:40 PM
Can you save your VI in version 2012 and re-post it.
02-27-2014 09:01 PM
Thank you for your reply.
Since I don't have Labview2012, I attached my problem with word file.
This is very simple topologies and I just want to generate same frequency in Labview as real time frequency in oscilloscope.
please check it.
thank you very much!
02-28-2014 04:24 AM
@nim21kr wrote:
Thank you for your reply.
Since I don't have Labview2012, I attached my problem with word file.
You can still save you code to previous version.