System and method for transferring data over a communication medium using double-buffering
First Claim
1. A method for transferring data in a system including a host computer system coupled through a communication medium to a data acquisition device, wherein the data acquisition device comprises a first read buffer and a second read buffer, the method comprising:
- the data acquisition device reading first data from the host computer and storing the first data in the first read buffer;
transferring the first data out from the first read buffer;
the data acquisition device reading second data from the host computer and storing the second data in the second read buffer concurrently with said transferring the first data out from the first read buffer.
5 Assignments
0 Petitions
Accused Products
Abstract
System and method for transferring data to a device using double buffered data transfers. A host computer system couples to a data acquisition device. The device includes a first read buffer and a second read buffer for storing output data received from the host computer. The device reads first data from the computer and stores it in the first read buffer. The first data is transferred out from the first read buffer while the device reads second data from the computer and stores it in the second read buffer. The second data is transferred out from the second read buffer (after the transfer of the first data) while the device reads third data from the host computer and stores the third data in the first read buffer. Thus, the data acquisition device successively reads data into one read buffer concurrently with transferring data out from the other buffer, respectively.
-
Citations
40 Claims
-
1. A method for transferring data in a system including a host computer system coupled through a communication medium to a data acquisition device, wherein the data acquisition device comprises a first read buffer and a second read buffer, the method comprising:
-
the data acquisition device reading first data from the host computer and storing the first data in the first read buffer;
transferring the first data out from the first read buffer;
the data acquisition device reading second data from the host computer and storing the second data in the second read buffer concurrently with said transferring the first data out from the first read buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for transferring data in a system including a host computer system coupled through a communication medium to a data acquisition device, wherein the data acquisition device comprises a first read buffer and a second read buffer, wherein the first read buffer stores first data, the method comprising:
-
transferring the first data out from the first read buffer;
the data acquisition device reading second data from the host computer and storing the second data in the second read buffer concurrently with said transferring the first data out from the first read buffer;
transferring the second data out from the second read buffer after completion of said transferring the first data out from the first read buffer; and
the data acquisition device reading third data from the host computer and storing the third data in the first read buffer concurrently with said transferring the second data out from the first second buffer. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A system for transferring data over a communication medium, the system comprising:
-
a communication medium;
a data acquisition device coupled to a first end of the communication medium, wherein the data acquisition device comprises a first read buffer and a second read buffer; and
a host computer system coupled to a second end of the communication medium, wherein the host computer system is operable to communicate through the communication medium to the data acquisition device;
wherein the data acquisition device is operable to;
read first data from the host computer and store the first data in the first read buffer;
transfer the first data out from the first read buffer; and
read second data from the host computer and store the second data in the second read buffer concurrently with the transfer of the first data out from the first read buffer. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36, 37)
-
-
38. A method for transferring data in a system including a host computer system coupled through a communication medium to a data acquisition device, the method comprising:
-
configuring a data acquisition device for a data input/output (I/O) operation, wherein the data acquisition device comprises a first read buffer, a second read buffer, a FIFO buffer, a first direct memory access (DMA) channel and a second DMA channel;
the data acquisition device issuing a first read request for first data from the host computer;
reading second data from the host computer into the first read buffer in response to the data acquisition device issuing the first read request for the first data, wherein the second data includes the first data;
the first DMA channel programming the second DMA channel to read data from the first read buffer into the FIFO buffer;
the second DMA channel reading data from the first read buffer into the FIFO buffer after said programming;
while the second DMA channel is reading data from the first read buffer into the FIFO buffer, the data acquisition device issuing a second read request for third data from the host computer;
reading fourth data from the host computer into the second read buffer in response to the data acquisition device issuing the second read request for the third data, wherein the fourth data includes the third data;
the first DMA channel programming the second DMA channel to read data from the second read buffer into the FIFO buffer;
when the second DMA channel has completed reading the data from the first read buffer into the FIFO buffer, the second DMA channel reading data from the second read buffer into the FIFO buffer;
the data acquisition device issuing a third read request for fifth data from the host computer;
the first DMA channel reading sixth data from the host computer into the first read buffer in response to the data acquisition device issuing the third read request for the fifth data, wherein the sixth data includes the fifth data. - View Dependent Claims (39, 40)
-
Specification