From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

What sample rate can I achieve with the USB-8451?

To whom,
              I have a USB-8451 communicating with an ADC through SPI. Using the labview script configure and run functions, I have verified that the CLK and the CS perform as required. The data returned on the SDI pin appears correct. I can read the data and convert it. Now the qustion is, how fast can I run it? My testing, so far, indicates that I can only sample at a rate of 1 sample every 1mS. Does that sound about right?
             My ADC is a slave that is triggered on the chip select. The negative going edge starts a conversion. As you clock it, the data is returned. The chip select is then sent high and then the process repeats. The whole SPI package process takes about 70uS to complete, except then there is a 900uS of dead time until the next CS. Is that what is to be expected? 
 
Thanks
Greg 
0 Kudos
Message 1 of 3
(3,498 Views)
Hi Greg,
It sounds like you are looking for a way to speed up your sample rate.  Some things to look at are:
What is the clock rate of your 8451?
What is the clock rate of your ADC?
Are there any other things that could be slowing it down?

Regards,
John E.
Applications Engineering
National Instruments
Message 2 of 3
(3,485 Views)

I'm evaluating an NI-8451 OEM unit for use on WinXP with the C Api.

 

I'm seeing the same behavior as the user that created this thread. To answer the questions that John E answers gahouck's post with:

o What is the clock rate of your 8451: 12Mhz

o What is the clock rate of your ADC?: 12 Mhz

o Are there any other things that could be slowing it down? I don't think so.

I've been transmitting data in small chunks (4 bytes), both using the advanced API and the basic API. With Both these methods I obtain a sampling period of 1-2 milliseconds.

0 Kudos
Message 3 of 3
(3,095 Views)