LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pulse train generation with the ability to vary frequency, duty cycle and pulse width?

hey, i use Labview 6.1 and I have a 6024-E Daq Card, and I would like to generate a continuous pulse train,with the ability to change the duty cycle,frequency and pulse width.Thanks.
0 Kudos
Message 1 of 4
(2,854 Views)
Hello Purcell,

In LabVIEW, select Help >> Find Examples... From the Example Finder, browse to Hardware Input and Output >> Traditional DAQ >> Counters >> DAQ-STC >> Generate Pulse Train (DAQ-STC).vi. This Example VI allows you to specify your pulse train specs in terms of Frequency and Duty Cycle (if using an internal Timebase) or raw counts of delay and pulse (if using an external Timebase).
Keep in mind that the pulse width is directly dependant on the frequency and duty cycle. For example, if I specify a 1 Hz pulse train with a duty cycle of 50%, it will have a pulse width of .5 seconds. If I change that duty cycle to 75%, the pulse width would be .75 seconds.

Let me know if you have any further questions.

Sincerely,
Sean C.
0 Kudos
Message 2 of 4
(2,841 Views)
I am also trying to generate a TTL signal from a NI-6025E card. The output from the DAQ is connected to a power transistor(TIP41). The power transistor is connected to a 40 V supply. If I have a duty cycle of 50% is my output 0.5x40 = 20 V? If my duty cycle is 75% is my output 0.75x40 = 30V ?
0 Kudos
Message 3 of 4
(2,824 Views)
Hi,

This looks like more of an electrical engineering question than an NI hardware question. I would suggest consulting a circuits textbook.

-Sal
0 Kudos
Message 4 of 4
(2,806 Views)