Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-6602, how to get all 8 lines?

Hello,

I want to write an application with NI-DAQ, where I will be using the NI-6602 to get timestamps of when a digital pulse occurs. I want to use all 8 counters (i.e., one counter for each line of data). Data pulses can simultaneously occur on all of the lines, or they can occur at various other times. It is very important that I know (to millisecond resolution) when the pulse has occurred.

I was reading the NI-6602 manual that I downloaded from the NI website. In the section entitled "Buffered Counting and Time Measurement", it says:

"You can make multiple buffered measurements simultaneously. Up to three of the data streams thus generated can be transferred via DMA."

In the application that I am going to be writi
ng, I was hoping to be able to read (and buffer) all 8 counters from the NI-6602 simultaneously. (I know that it says that interrupts can be used to transfer any additional data streams, but I wanted to avoid having to use interrupts.) If it is not possible to stream more than 3 to DMA simultaneously, could someone give me an idea of how long it would take to stream 3, then the next 3, and then the next 2?? Could this all be done in one millisecond? I looked at the "Transfer rate" section of the manual briefly, but it is pretty vague and then only gives numbers for stream one channel of continuous acquisition.

Anyway, any information would be greatly appreciated.
Thanks,
Trina
0 Kudos
Message 1 of 2
(3,147 Views)
Trina;

Since the data transfer will rely on both DMA and Interrupts, the timing will be completely system dependent. That's due to the fact that the computer will manage the time sharing in between devices to access the DMA channels and the Computer Interrupts.

Unfortunately, to determine the delay of that task is a experimental process and will vary from machine to machine.

Hope this helps.
Filipe
0 Kudos
Message 2 of 2
(3,147 Views)