Hi,
I need to acquire 50 kSamples on 1 MHz rate ( = 50 ms) after digital trigger. Next measurement will be done after 1 sec.
There are PCI cards, for example PCI-6711, with onboard memory few MBs.
But what about PCI-6251 with 4096 kSamples onboard?
Let calculate PCI bus troughtput. 4 kSamples (=8kB would be measured 4 ms. PCI takes 8 kB / 100 MB/sec = 0.08 ms.
So there is not not problem for PCI bus if another task would not load it.
What about CPU? It depends how card works and I can't find any useful information.
In one way driver allocates memory for 50 kSamples and prepare ADC. ADC gets trigger and starts. When half onboard buffer has filled card initiates DMA transfer and writes into memory itself. When acqusition finished card sends interrupt to the program, In this case acquring doesn't depend from CPU.
In another way card sends interrupt each time when half onboard buffer has filled. Then the program initiates DMA transfer ... In this case acquring depends from CPU and CPU must does small actions each 2 ms. This way is enough critical.
Which way does PCI-6251 use?
Maybe anyone has tested?
Thanks!