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

Absolut timing/ triggering of CI pulse time

$
0
0

Hi,

 

I am fairly new to NI-DAQmx and trying to measure the length and absolute position of digital pulses (high times and low times) relative to a second trigger signal.

 

The VI CI Pulse Time allows me to measure the low and high times, but I can not get the absolute timing in relation to the trigger signal. The relevant code part so far is attached below. The generation of the trigger signal is not shown, but working correctly. Nicely visible on the oscilloscope.

 

I was using CI Period in another situation and I could set the variable CI.CtrTimebaseSrc to my trigger signal in order to only measure during the high of the trigger signal. What is the reason this is not working with CI Pulse Time?

 

Thank you very much,

Teresa


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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