LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse width modulated signals

Is it possible to generate a fixed frequency with variable duty cycle signals using counter/timer channels of my DAQ 700?
If yes, is there any example I could download?
If no, I am looking for a DAQ card that can handle
the job, I'd appreciate any recommendation.
Another part of my project is to read in a analog signal while generating this pulse width modulated
signal. So far I am not very lucky with one DAQ,
I am thinking of getting two. Does it sound overkill?
Please help.

Thanks
0 Kudos
Message 1 of 4
(3,178 Views)
Could you provide a timing diagram for your digital signal?

I am a firm believer that a digital output device such as an NI timer can create any signal, given the proper software or hardware. I once did a high speed, gated, triggered data acquisition with only a single NI timer chip on the AT MIO 16E-1. It required about 75 feet of BNC cable, more PFI wires than you can imagine, four external logic devices (AND and OR, NAND and NOR boxes) all interconnected and basically tangled. I don't think I could repeat that setup without my documentation, but the point is, it worked.

The most important thing from that example is that I used a timing diagram. These are so vital in digital IO and timer applications that its not funny.

If you can't determine ho
w to do what you need from a timing diagram, just send me a copy, let me know what the basic specs are of the DAQ 700 (how many counters, interconnect capabilities, etc) and I can try to help.

Good luck.

As far as reading the analog signal at the same time...well, look at my example. I generated the trigger/gate signal with the card, and then read in the analog data (on several channels simultaneously.)
0 Kudos
Message 2 of 4
(3,178 Views)
Thanks Labviewguru,

Due to the time restriction of the project I couldn't send you the timing diagram. I appreciate your input.
I got a DAQ 6024E and the problem solved.
Have a good day
0 Kudos
Message 4 of 4
(3,178 Views)
Hello;

I'm attaching an example VI that generates a PWM signal type with counters.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(3,178 Views)