Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

measurement every nth trigger using NI PXI 6251

Hi,

I have a NI PXI 6251 DAQ card. Is it possible to configure a system which measures (AI0) every nth trigger?

What i have is, i have a signal from an encoder, which sends digital pulse every 0.1um step. What i would like to do is measure every 1um which means i have to measure(1Mhz sampling rate) every 10th pulse of the encoder. Any idea on how i can do that with the PXI 6251? Im thinking of using a counter probably?

 

0 Kudos
Message 1 of 3
(3,173 Views)

Hi Carlo,

 

You're absolutely on the right track with your idea to use a counter.  This example will use a counter to divide-down the external signal (it shows a divide-by-2 but you can change this parameter to 10).

 

You can then use the Internal Output of the counter as the AI Sample Clock.

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 3
(3,155 Views)

Hi John,

 

This is very helpfull. 🙂

Thank you very much!

 

Best Regards,

Carlo

0 Kudos
Message 3 of 3
(3,149 Views)