Data Translation
Data Translation Knowledge Base
Home / All Categories / Data Acquisition Hardware / USB
KB HomeKnowledge Base Home | SearchSearch | GlossaryGlossary

How can I resolve an underrun error?

The D/A subsystem has an underrun error. The D/A subsystem’s clock is running faster than the acquisition computer can keep up with. Try one or more of the following solutions:

Slow down the D/A clock. If using an internal clock source, use olDaSetClockFrequency to decrease the input pace. Otherwise, use olDaSetExternalClockDivider to decrease the input pace.
Use a different wrap mode. Use olDaSetWrapMode to specify a new wrap mode.  Increase the buffer sizes. Use the same function you used to allocate the buffers initially (olDmAllocBuffer, olDmCallocBuffer, or olDmMallocBuffer) to increase the number of samples each buffer may hold.  Use more buffers. Use olDmAllocBuffer, olDmCallocBuffer, or olDmMallocBuffer, as appropriate, to create more buffers.  *Created: 08/03/05

Copyright © 2013 Data Translation, Inc. All rights reserved.