Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Duty cycle measurement using NI DAQ USB-6003. (Help needed with C coding)

Hello, I am a beginner using DAQ and my objective is to read absolute rotary encoder PWM output signal. Currently I have got NI DAQ USB-6003 which has only one counter and two PFI-0,1 channels. My encoder output frequency is 1.1kHz. Could anyone help me with duty cycle measurement? It would be really grateful if you can help me with the algorithm (C language) too. Thank you! 

0 Kudos
Message 1 of 2
(2,141 Views)

USB-6003's counter is only capable of outputting count value, so it is not really possible to get the duty cycle. You need more expensive DAQ such as USB-6211 or USB-6341 to do this.

0 Kudos
Message 2 of 2
(2,055 Views)