04-29-2006 03:52 AM
05-01-2006 09:55 AM
The first thing I would try would be to update your RIO version to RIO 2.0.1.
Note this is an update to RIO 2.0 not a full RIO installation. Also note that this is not RIO 2.0.2. I do not think you need RIO 2.0.2.
Reasoning: Reading data from the FPGA DMA channel is a blocking method when using RIO 2.0. That means it will consume 100% of the CPU while trying to get the data. This is obviously fast, but can starve other high priority operations like reading other DAQ channels. RIO 2.0.1 allows the Read to sleep while rating for the data to arrive.
This may not entirely solve your problem, but it is a start and the update should definitely help a little.
Regards,
Joseph D.
National Instruments
05-01-2006 11:33 AM
05-01-2006 08:00 PM
Hi Joesph,
From the description you have provided, it looks like file write is causing the buffer to overflow and resulting in an error. In your DAQmx read, what option did you choose? Can you select analog >> Unscaled >> 2D I32. This should decrease the amount of data transfer to file. After reading the binary file, you scale the data. do you have a delay or wait (ms) inside the while loop. If so, how much?
You can refer to example from
C:\Program Files\National Instruments\LabVIEW 8.0\examples\DAQmx\Analog In\Measure Voltage.llb\Cont Acq&Graph Voltage-To File(Binary).vi
Can you please post a segment of code so that it can help us identify the problem better?
Kalyan