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,792 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://forums.ni.com/t5/Example-Code/Synchronize-Two-Counter-Output-Tasks-Using-LabVIEW-with-DAQmx/...

 

Regards,

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