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

Reset Counter: conditional action upon rising edge

$
0
0

Dear all,

 

After my basic question (https://forums.ni.com/t5/Counter-Timer/Basic-Buffered-Edge-Counting/m-p/3941541#M14321) was solved (thanks again Kevin), I have another question (this time less basic, I think)

A quick reminder if what I am trying to do:

 

Timestamp some incoming TTL signals, for this I am counting edges using:

"Input Terminal"=>: /Dev1/100MHz Timebase

"Timing Settings: Sample Clock Source'"=> /Dev1/PFI8 (the signal I want to timestamp, with the 100MHz timebase).

 

I have added a reset trigger signal at /Dev1/PFI9. (This is well documented and I know how to do it)

So far so good.

However: I need to treat the data that came between two reset trigger signals, but how to get that information?

I am running a loop, with the acquisition set at "continuous" and reading "All available", but how to trigger an action upon the rising edge of the PFI9, which is used as a reset signal?

 

Any ideas?

Regards


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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