Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

Delay between 2 digital output signals on the USB-6351

$
0
0

 

Hello everybody,

I'm looking for a while how to realize a delay between 2 digital output pulses, with the USB-6351 card.
I first made a program to send a signal to the digital output. For that, I used the CO Pulse Freq function. Because I need to adjust the duty.
Moreover, to know, this one is triggered from an external signal on a rising edge. cf the VI : 1signalCO Pulse.vi

Now, I want the external source to trigger 2 digital outputs on the board, but with a delay between the 2 ?
For that, I duplicated the first program for the generation of the second digital output. Then I put a tempo between the two DAQmx start task.vi. cf the 2signals CO Pulse with delay.vi
But nothing works. This gives two simultaneous output signals .... There is no delay between ... see attached jpg image ...
I would like to have a delay between the blue and the pink curve ....

Do you have an idea about the problem? a trigger statement?Sincerely 

2023-04-18_TTLext declench TTL MW&Laser.png


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>