Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

duty cycle and period time measurement

Hello,

i have to measure period time and duty cycle of a pw-signal. Intention is to measure the signal and read out the buffer continuously.

I'm using ctr0 for input the signal to the card (NI PCI-6229). Is a counterpart function to DAQmxCreateCOPulseChanFreq existing with which i could measure the two values?

Actually i try it with DAQmxCreateSemiPeriodChan. Problem is that i have to ensure starting with rising edge for example. But how could i do this?

Thanks for every idea
Andreas

0 Kudos
Message 1 of 2
(2,879 Views)
Hello,

Here some examples:
Duty Cycle Measurement:
http://zone.ni.com/devzone/cda/epd/p/id/2592

Triggered counter measurements:
http://zone.ni.com/devzone/cda/epd/p/id/2410

With a M series card (PCI-6229) you can use the arm start trigger to arm the counter.
http://digital.ni.com/public.nsf/allkb/A00D601140D0F8EC86256F8D007C53F9?OpenDocument

Best regards
Ken
0 Kudos
Message 2 of 2
(2,859 Views)