LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible timing problems after upgrade

I use a PCI-6111 as a NMR spectrometer and we have this error after upgrade from LabView 5 on Windows95 to LabView 7 on Windows XP. "Error -10846 occurred at AI Buffer Read

NI-DAQ LV:  Your application was unable to retrieve data from the background acquisition buffer fast enough so the unretrieved data was overwritten with new data.  To prevent this error, you might increase the size of the background acquisition buffer, increase the amount of data you read from it per call to the read function/VI, slow down your acquisition rate, or reduce the number of tasks your computer is performing". The thing is that the program does not collect all the data set, only about half of it, and there are some buffer sizes that give the correct data set but the program takes about 5 minutes to diplay it. I suspect a timing problem with XP or LV 7 because with LV 5 and 95 the program works perfectly with any buffer size. Could anyone help me with this? Thanks
0 Kudos
Message 1 of 2
(2,384 Views)

Hi Polium,

Thanks for posting on the NI discussion forums.

May I enquire as to whether to PC's CPU and RAM were upgraded alongside Windows and LabVIEW? The reason I ask is because the CPU footprint for both the operating system and LabVIEW have increased over the years. Given that the code has not changed since your upgrade, I can only assume that the CPU would be spending a larger proportion of its time dealing with the operating system, and LabVIEW Run-Time Engine. This would result in the processor not being able to 'keep up' with your acquisition.

However, if this is not the case, and the CPU/RAM/etc have been upgraded, then it may be worthwhile posting your VI here on the forum so we may take a look at it.

I hope this helps, and I look forward to hearing back from you. Thanks,

National Instruments | Northern California
0 Kudos
Message 2 of 2
(2,365 Views)