Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Change detection capability in the PCI 6229 card???

Hi,
I have a PCI 6229 card and I would like to program a time tagging program acquire arrival times of random digital (TTL) pulses.
I would like to do this with a time resolution of 50 ns.
I think that using the two counters I can do this but I will need to be able to detect the toggling of the counter output.
One cuold poll such output but I would like to avoid this software mediated step.
 Is it possible for the PCI 6229 card to detect changes on the counter output?. If not what cards have change capability detection?
Any suggestions will be appreciated.
Thank you!
Fundadero

0 Kudos
Message 1 of 5
(3,139 Views)

Hello Fundadero,

The PCI-6229 does not support change detection. 

Please see the following Knowledge Base for a list of devices that do support change detection: http://digital.ni.com/public.nsf/websearch/8914FA5E30971E0C86256FEF005760FF?OpenDocument
 
Let me know if you have any further questions.
 
Regards,
Sean C.
0 Kudos
Message 2 of 5
(3,128 Views)

If I read through that list it seems that actually the PCI 6229 does support change detection:

 

Some M Series (Port 0 ONLY)
NOTE: USB Bus-Powered M Series devices like the USB-6210 and USB-6211 and our Industrial M Series cards (NI 623x) do NOT support change detection.  However, USB High-Performance, PCI M Series, and PXI M Series devices DO support change detection.

0 Kudos
Message 3 of 5
(2,758 Views)

Thanks.

0 Kudos
Message 4 of 5
(2,747 Views)

Fundadero,

 

Your PCI-6229 does support change detection, however it only supports it for the lines on port 0.  While you can't directly use port 0 to get a timestamp, I believe there is a way you can do this, though it requires some creative thinking.

 

The idea is this:

1) You use a digital input task with change detection timing.  In hardware, there is an event which is generated each time a detected change occurs.

2) You use a counter input task to measure the time between these change detection events.  To do this, I believe you'd want to setup an 'edge count' task.  This task would count the number of of edges of signal of known frequency (the 20 Mhz or 80 Mhz timebase on your 6229).  You would then use the change detection event as a sample clock for this task.  Essentially, each time port 0 detects a change, your counter would record the number of edges of the timebase that have occurred.  This should allow you to use one of your counters to effectively timestamp changes in the signal.  I thought that there was an example of this posted somewhere, however I can't seem to find it.  If this is an avenue you'd like to pursue, let me know and I will see if I can provide more guidance, or find an example implementation.

 

Dan

 

 

0 Kudos
Message 5 of 5
(2,734 Views)