07-04-2014 11:12 AM
Hai,
I want to read a pwm signal and calculate its frequency and duty cycle using DAQmx in labview. Can you please suggest the block diagram of how to implement this functionality. Please do the needful. Thanks in advance
07-04-2014 11:19 AM
Did you look at the search results that were offered when you attempted to post this question? There are many posts on this, with examples.
To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
07-04-2014 11:20 AM
07-04-2014 11:26 AM
Here are some links you should look at:
http://digital.ni.com/public.nsf/allkb/294E67623752656686256DB800508989
this one has an example code with DAQmx:
https://decibel.ni.com/content/docs/DOC-17537
another one with examples:
http://www.ni.com/white-paper/2991/en/
https://decibel.ni.com/content/docs/DOC-30034
Discussion where a problem was found:
https://decibel.ni.com/content/docs/DOC-13798
07-07-2014 05:49 AM
Hi,
The attachments are for generating PWM signal. Can you please send some VI to read a pulse width of a PWM signal
Thanks in advance
07-08-2014 10:44 AM
Do you mean this:
https://decibel.ni.com/content/docs/DOC-25244
interesting article here:
http://www.ni.com/white-paper/3640/en/
and discussion here (with some code):
07-08-2014 01:32 PM
There are multiple examples that ship with LabVIEW for measuring pulses. Help > Find Examples... Then search for "counter" or "pulses". You'll find the VI called Counter - Read Pulse Width and Frequency that Ray R. linked along with many others. Always look through LabVIEW's Example Finder first. It's filled with good examples and it's a great way to learn.