LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate pulse train 40kHz

Hey!

 

I want to generate 8 pulses in 40kHz. After the 8 pulses are generated there should be a wait period of 15 ms and then repeat the same process again.  I'm using a myDaq to both generate and aquare the signal. I have accomplished this using the DaqAssistant, but only at 125 ms. Therefore I have tried using the Daqmx blocks,but the loop sending the signal can't get any faster than 20ms, why? 

 

Best regards.

 

0 Kudos
Message 1 of 3
(2,879 Views)

I'm not an expert at Pulse Generation. (yet)

 

But I found a post on here the other day about Buffered Generation that might lead you in the right direction. 

 

http://forums.ni.com/t5/Counter-Timer/Buffered-pulse-train-generation-with-cDAQ-9181-and-NI-9474/m-p...

 

I'm thinking you might need to "build" your entire pulse train, including the 15ms wait time, into the buffer. 

 

Good luck. 

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 2 of 3
(2,867 Views)

Thanks! I'll check that out 🙂

0 Kudos
Message 3 of 3
(2,837 Views)