Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Read PWM Duty Cyle with PCI-6023E

I have a PCI-6023E card and I need to measure the duty Cyle of a PWM signal with a frequency between 100 Hz and 1KHz.
Can you do with this card?
The way I got it done is by reading the frequency with the CTR0 and stopping the task
Then I read the Pulse Width and stop the task.
Then I calculate the Duty Cycle.

I find it a slow demarcated solution having to boot and stop tasks for each measure.

Can you help me?

Thank you very much....

0 kudos
Mensaje 1 de 2
2.199 Vistas

You can do it with "DAQmx Create Virtual Channel" configured as "CI Pulse Width".

You need to connect the signal to the Counter's Gate.

http://zone.ni.com/reference/en-XX/help/370469AG-01/lvdaqmx/mxcreatechannel/#DAQmxCreateChannel(CI-P...)

0 kudos
Mensaje 2 de 2
2.169 Vistas