07-11-2007 04:09 PM
07-12-2007 02:01 PM
Hi fmhess-
I created an example recently for DMA-based buffered period measurement. It's attached as gpctex6.cpp and should be a good starting point (along with gpctex1.cpp from the M Series MHDDK) to get buffered edge counting with DMA working. This should give considerably better performance than interrupt-based transfers; will DMA-based transfers (using the MHDDK's DMA library) work for your app?
Thanks-
07-13-2007 03:59 PM
07-13-2007 04:04 PM
Hi Frank-
Here's an example I did recently for DMA-based period measurement with an S Series. From a counter/timer perspective, S Series and E Series are identical (they both use the DAQ-STC ASIC for counter operations). You might have to strip some S Series-specific stuff (and replace with E Series references from the DDK), but this should hopefully help get you going.
Hopefully this helps-
07-23-2007 09:18 AM
07-23-2007 11:29 AM
Hey Frank-
Glad to hear it- let us know if you run into anything else.
Thanks-
11-19-2007 08:13 AM
HI fmhess
I tried to generater a interrupt to ack interrupt function, through a DIO line's status changed or a TC event, so i can control my other device when that event on.
I have no idea about how to set the interrupt registers and DIO (PFI) relatived registers.
could you give me some help .
Thanks-
Su