Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronizing counters output using NI9401

Hi,

I'm using cDAQ9174 and NI9401; I need to generate two synchronized square waves (using two counters). The two waves could have different frequencies (from 500Hz to 7KHz) and duty cycles, but I need they start at the same time (first rising edge together). Is there a way to synchronize the two tasks? I would prefer without using an external trigger.

 

Thank you in advance for the answers 

0 Kudos
Message 1 of 2
(5,369 Views)

Hello Domcar,

 

 I think the best way to synchronize your two counter outputs would be to use a dummy task as shown in the following link. Could you please take a look?

 

Synchronize Two Counter Output Tasks Using a Dummy AI Task

https://decibel.ni.com/content/docs/DOC-11755

 

Regards,

Antonios
0 Kudos
Message 2 of 2
(5,365 Views)