Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQ -10845 errors on new hardware

We are trying to move a traditional NI-DAQ based program from old a PC with PCI-32HS DAQ-card ( still running Windows NT as OS) to new hardware ( running XP as OS) and a PCI-6534 DAQ-Card. We recompiled the program from source using CVI 7.1 and latest traditional DAQ version 7.4. But on the new hardware we are getting -10845 errors from DIG_DB_Transfer now. Since  -10845 usually means a buffer overflow on the DAQ-Card but we have faster PC hardware and much bigger buffers on the DAQ-Card now, we are a little bit astonished. Are the any known problems when porting traditional DAQ-programs from NT to XP ?  Or might we hit some incompatible detail between the PCI-32HS and the PCI-6534 ?

 

0 Kudos
Message 1 of 2
(2,559 Views)

Heyho,

you are right about the hardware. It is much better and faster. But theirs one limitation -> The PCI Bus. It's the same standard for both hardware devices (the new and the old)

The old device 6533(or 32HS) has no onboard memory at all. That's why you can't run into overflow issues. It's the PCI bus that limits the data rate.

For the new card 6534 its a different thing since this device has onboard memory, which allows to fasten the communication over PCI if it is programmed correctly. Otherwise you will run into overflow error "-10845".

 

You might wanna check out this page:

 

http://www.ni.com/white-paper/3631/en

 

Look at this paragraph:

 

"Possible Errors in Finite Operations
In pattern input operations, NIDAQ reports a -10845 error if the PCI bus does not transfer data out of the onboard memory fast enough to sustain the predetermined input rate, resulting in an onboard memory overflow. In pattern output operations, NIDAQ reports a -10843 error if the PCI bus does not transfer data into the onboard memory fast enough to maintain the predetermined output rate, resulting in an onboard memory underflow.

Both errors, -10845 and -10843, are due to system limitations, primarily the available PCI bus bandwidth. The -10845 error is generated to prevent data over write, and the -10843 error message is generated to prevent data being regenerated. These errors are not generated in a handshaking operations, since the NI 6534 pauses the handshaking until the PCI bus is ready to resume data transfer. To prevent these error messages, try increasing PCI bus bandwidth by removing your network card, stopping other concurrent data acquisition operations, or decreasing bus usage by PCI graphic boards."

 

I hope this helps you even though it means that you have to add some code to your program.

 

Kind regards and best wishes 😉

0 Kudos
Message 2 of 2
(2,551 Views)