beautypg.com

Api error codes (cont.) – daqerror – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 330

background image

4.7-12 Daq API Command Reference

908594

Programmer’s

Manual

API Error Codes (Cont.) – daqError

Error Name

Code # hex-dec

Description

DerrDacBufferUnderrun

95h - 149

The specified dynamic waveform output operation has underrun. A waveform
output underrun occurs when the DAC is able to output data faster than the
controlling application can update the dynamic waveform buffers.
Corrective Actions:

Update the waveform buffer in a more timely manner.

Increase the size of the waveform buffer to allow greater latency if the
application cannot update the buffer quickly enough

Decrease the DAC output update rate.

DerrDacWaveModeConflict

96h - 150

Conflicting waveform output modes have been specified. Mixing of static and
dynamic waveform modes is not allowed for concurrent waveform output from
different DAC channels.
Corrective Actions:

Change all DAC waveform channels to be either dynamic or static
waveform output modes.

DerrTedsInfoInvStatus

97h – 151

WaveBook Series Only

- Invalid TEDS status operation. No TEDS support can

be found on this channel.
Corrective Actions:

Check that a TEDS capable transducer is connected to the channel
input

Check that the application intends to use a TEDS capable channel.

DerrAlreadyCreated

98h - 152

Device already created – Attempting to create a device which already exists.
Duplicate device entries are not permitted.
Corrective Actions:

Check the device name for which you are creating. Make sure device
name does not already exist. Device names and settings can be
checked via the DaqX control panel applet.

DerrParentNotCreated

99h - 153

Device Parent Not Created – Attempting to create a device whose specified
parent device does not exist.
Corrective Actions:

Create the parent device for the device you are attempting to create.

Check the parent device name for the device for which you are
creating. Make sure that the parent device name already exists and is
the device name which you are attempting to create a child from..
Device names and settings can be checked via the DaqX control panel
applet.

DerrUnableToCreateDevice

9Ah - 154

Unable to create specified device. Unable to create the specified device due to
registry path or access issues.
Corrective Actions:

Make sure that the application and User privileges for the PC has
access rights to write registry locations in the HKLM registry key.

DerrUnableToDeleteDevice

9Bh – 155

Unable to Delete specified device. Unable to delete the specified device due to
registry path or access issues.
Corrective Actions:

Make sure that the application and User privileges for the PC has
access rights to write registry locations in the HKLM registry key.

DerrInvIPAddress

9Ch - 156

Invalid IP Address – IP Address specified was zero which is an invalid IP address
setting.
Corrective Actions:

Specify a proper, non-zero, IP address.

DerrOutputEnableConflict

9Dh - 157

Output Enable Conflict – A DaqBoard/500 device has an output conflict. Timer1
and AdcClockOutput are in conflict.
Corrective Actions:

Disable Timer1 or disable AdcClockOutput. Both cannot be enabled at
the same time.

DerrCalDataTypeMismatch

9Eh - 158

Calibration Data Type Mismatch – Calibration points do not match the data type.
Corrective Actions:

Verify the data type and enter new calibration points of the same data
type.

DerrDacFifoUnderrun

9Fh - 159

DAC Fifo Underrun – Data is not being sent fast enough.
Corrective Actions:

Decrease the waveform playback speed

Increase the buffer size