LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate signal with variable pulsewidth and period

Hallo,
 
I want to generate a square signal where I can modify the pulswidth, period, amplitude, frequenzy, duty cycle...at the Front Panel.
I also want to be able to generate just a a single puls/period on the one hand and a puls-train on the other.
 
I´am working with a AT-MIO-16E-1(DAQ-Card), a SCB-68 and LabView 7.
 
I`d be very grateful, if anyone is able to help me...
 
Thanx a lot...
 
Greets Daniel
0 Kudos
Message 1 of 2
(2,369 Views)

Daniel,

It sounds like you are trying to generate digital pulses using your DAQ board.  The counter output is designed to be a digital signal.  That is, the amplitude of the signal is either 0 V or +5V.  Therefore, the amplitude cannot be controlled.

However, there are some great examples in the LabVIEW Example Finder that will help you implement your two options.

Access the Example Finder by navigating to Help >> Find Examples...  Then go to Hardware Input and Output >> DAQmx >> Generating Digital Pulses. There are several examples there which you can check out to get you started.  The most interesting to you are likely Gen Dig Pulse Train-Continuous.vi and Gen Dig Pulse.vi.

I hope this gets you started in the right direction.

Stephen Meserve
Applications Engineering
National Instruments

Stephen Meserve
National Instruments
0 Kudos
Message 2 of 2
(2,331 Views)