From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting measurements after a digital input rising edge

 

Hello Duffy2007,

Thank you very much for your reply 🙂

 

Yes indeed, according the testpanel, the counter works good.

Also I tried the master-slave part, but that was not successful. 

For the example that you attached, as far as I understand, the CTR start to count at every edge on the analog input.

However, what I want to do is ... during the whole process which can take 1hour or more, we have many digital edges that control the this process.. so at every digital edge i have to measure the voltage for 12s and then wait for the next edge to measure again for the same duration...

 

I hope that my problem is well explained this time...

 

I rely on your help,

Many thanx,

Tania.

 

 

 

0 Kudos
Message 11 of 12
(730 Views)

Hello Tania,

 

in my example the counter runs and count the edges, but the internal register will be read out with the sample clock

 

counter.PNG

You can look into this example DAQmx Retriggerable Finite Acquisition

Hope it helps.

best regards
Alexander
0 Kudos
Message 12 of 12
(728 Views)