Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate multiple digital outputs (square waves delayed) at 50 kHz?

I would like to generate 3 digital outputs like the picture attached at 50 kHz. Using the "digital pattern generator (marching values).vi", I can generate 3 digital square wave but without the delay time. How can I do that?

I'm using the card PCI 6034E.

Thank you

0 Kudos
Message 1 of 2
(4,953 Views)

Hi,

the digital pattern generator (marching values) only shifts the binary value of the first signal and sample to the next signal/sample.
Have you tried generating your waveforms via build waveform and use t0 terminal to change the lead delay?

In general, this DAQmx example could be helpful which you can modify to your needs.
DAQmx Write Digital Channel- External Clock: https://decibel.ni.com/content/docs/DOC-11142

Regards,
Thomas

0 Kudos
Message 2 of 2
(4,645 Views)