Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronize 2 Counter DAQmx tasks in C#

I create 2 Counter tasks to measure the same square wave signal in c#.

Task 1 will measure the signal's semi-peroid, sample size 20 and start at rising edge.

Task 2 will measure the signal's peroid, sample size 10 and start at rising edge.

 

I want the 2 tasks start at the same rising edge.

If that, the each peroid result of task2 will equal to the sum of each 2 semi-peroid results of task1.

So, how to set the 2 tasks start at the same rising edge in c#?

 

Regards,

Daniel

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

If you know how to read LabVIEW code or know someone who does, https://decibel.ni.com/content/docs/DOC-5706, may be helpful.

 

This question may be better asked in the Multifunction DAQ forum. This forum is about Measurement Studio which you are not using.

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