02-28-2006 01:47 PM
02-28-2006 10:20 PM
Just increase the number of samples to read to a more optimal value and it will work fine
equal or half or one tenth of the scan rate and it should work fine.
Note : these valuse are no standard specs for this parameter, i just suggest them to avoid buffered values being overwritten
03-01-2006 11:34 AM
03-01-2006 02:56 PM
Minguccio,
When that error message is displayed, the DAQ card has run out of room to store
data in your PC buffer. This is caused when your application is not
reading data out of the buffer fast enough. In DAQmx you do not need to
specify the buffer size because the driver selects a value for you based upon the
samples per channel on the DAQmx timing vi. You can set the buffer size
though the DAQmx configure input buffer vi, but this is usually not necessary.
If you change the value called 'number of samples
per channel' on the DAQmx Read, you might be able to get past this
problem. Typically 25- 50% of your buffer is recommended.
Regards,
Jesse O.
Application Engineering
National Instruments
03-26-2007 08:51 PM
03-26-2007 09:38 PM
03-27-2007 06:47 PM