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.
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.
05-21-2008 08:16 PM
05-22-2008 05:59 PM
Hello Zaidi,
The USB-6009 has an AI FIFO size of 512 bytes and max sample rate of 48kS/s. The USB-6009 also uses the USB 2.0 Full-Speed specification which has a bus speed of 12Mb/s for data transfer. You cannot increase the size of the onboard FIFO, but you should not need to for your application. As you are acquiring data, the DAQmx driver will be transferring the data from the device into your PC memory continuously. Therefore, you will not need to store all 70KB of your data on the board at once. Instead, this data will be placed into your PC memory while it waits to be copied into your application (such as by the DAQmx Read function). For more information on how this process works, please refer to the NI-DAQmx Help section for Buffering, found in NI-DAQmx Help » NI-DAQmx Key Concepts » Reading and Writing Data » Buffering. Specifically, the section titled “How Is Buffer Size Determined?” may be helpful in explaining how the size of the PC buffer is determined and how you can control the buffer size. Hope this helps,
05-26-2008 09:19 PM
05-28-2008 10:22 AM
Hello Zaidi,
The buffer will be created in your computer’s RAM as opposed to the hard disk. Since the resolution of each sample is 14-bits, each sample will actually be transferred from the board into the computer memory as 2 bytes. Thus, you will actually have 80KB stored in the computer RAM. For your acquisition, at a specified rate of 20kHz, you would want to specify the samples per channel to be 40,000. With these settings, your acquisition will take 2 seconds and you will have 40,000 samples * 2 Bytes/sample = 80Kbytes per channel. Hope this helps,