06-15-2005 04:40 PM
06-16-2005 12:30 PM
06-17-2005 07:39 AM
You're correct, it just ensures that the "Empty FIFO" loop runs to completion before the "Acquisition and Buffering" loop can start. This way the FIFO will be empty and only contain newly acquired data.
Look at "figure 1", that is, the figure off the Buffered DAQ (FPGA).vi
In the bottom left, there is a while loop "Empty FIFO".
Now, first of all, I dont understand the wire that runs out from this while loop and up to the ""quisition and buffering" loop, because it just ends there in empty space. Since it does not go anywhere, I guess it must be there to control the flow of the data and thus the rate it runs at?
The "Communication to Host" loop simply reads data from the FIFO and passes it to the host. The data is actually read from the analog inputs and written to the FIFO in the "Acquisition and Buffering" loop.
Secondly, I do not understand its purpose at all. The "Communication to Host" is where the data in the FIFO is read and passed on to the RT host is it not? So why are there two different loops reading the FIFO?

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.06-17-2005 07:47 AM