Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

wrong examples in two signal edge separation folder

Solved!
Go to solution

In the "Two signal edge-separation" folder the examples are not two signal examples.

They are two edge separation measurements done on one signal.

I am in the need of measuring separation ofrising edges between two encoder signals on 1024 consecutive pulse pairs. I could not find an example for that.

Is there something out there that I could try?

Scientia est potentia!
0 Kudos
Message 1 of 3
(2,962 Views)
Solution
Accepted by topic author magyar

It sounds like you want something like this (Image taken from the M Series User Manual😞

 

2011-01-26_164547.png

 

 

If you want to measure a finite number of pulses, you should use the "Meas Two Edge Separation--Buffered Finite.vi" which is shown in the screenshot in your example finder.  You will have to connect your two signals to the "AUX" and "GATE" inputs of your counter.  On many boards (e.g. plug-in M Series), the default lines used are:

 

ctr 0:

   AUX:  PFI 10 (pin 45)

   GATE:  PFI 9 (pin 3)

 

ctr 1:

    AUX:  PFI 11 (pin 46)

    GATE:  PFI 4 (pin 41)

 

 

If you don't want to use the defaults, you can modify the PFI lines used with a DAQmx Channel Property Node:

 

2011-01-26_165636.png


The examples you linked do perform edge separation measurements on two different signals in the manner shown in the above diagram.

 

 

 

Best Regards,

John Passiak
Message 2 of 3
(2,955 Views)

This is exactly what I need and it works really well!

Thank you!

Scientia est potentia!
0 Kudos
Message 3 of 3
(2,907 Views)