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
- last edited on
08-13-2024
09:02 AM
by
Content Cleaner
Here are some links you should look at:
this one has an example code with DAQmx:
another one with examples:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1P0CAI&l=en-US
https://forums.ni.com/t5/Example-Code/Updating-Pulse-Configuration-On-The-Fly/ta-p/3522210
Discussion where a problem was found:
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
- last edited on
08-13-2024
09:03 AM
by
Content Cleaner
Do you mean this:
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.