LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run two "buffered edge count" using two different counters at a time?

Solved!
Go to solution

Hi

 

I am trying use two counters at a time  to count TTL pulses for a specified period of time (lets say 10 ms). I have PCI-6251 as well as PCI 6601. I am using currently  PCI 6601 as counters and running a self-modified"buffered edge count-reset.VI". Here I have attached my VI. 

 

Now while running this VI, I am receiving an error saying "Error -200251 occurred at DAQmx Start Task.vi:4" and the possible reasons are, "Measurements: No DMA channels or USB Bulk Endpoints are available.

Either shut down other tasks that might be using these resources or consider changing your data transfer mechanism to Interrupts if supported.

Device:  Dev2

Task Name: _unnamedTask<80>."

 

What I realized is that I am trying to use two buffers for two counters with ten samples each and this is probably not allowed. I am not sure how to solve this out and badly looking for your suggestions.

 

Thanks in Advance.

Download All
0 Kudos
Message 1 of 2
(3,051 Views)
Solution
Accepted by topic author kishaloi

Hi All,

 

I found a solution too. Here is the modified "buffered edge count" VI which can simultaneously run two input-counters using a single gate source and it also  uses DMA and Interrupts to save both the buffers. Smiley Happy

 

Have a nice weekend.

0 Kudos
Message 2 of 2
(3,038 Views)