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

Page 327

Advertising
background image

Programmer’s Manual

908594

Daq API Command Reference 4.7-9

API Error Codes (Cont.) – daqError

Error Name

Code # hex - dec

Description

DerrInvEnhTrig

79h - 121

Device using enhanced trigger detected invalid trigger type – The triggerSources
array parameter of the daqAdcSetTrigEnhanced API contained an invalid enhanced
trigger source type (DaqAdcTriggerSource) for the device.
Corrective Actions:

Make sure that all trigger sources passed in the triggerSources array parameter
are valid enhanced trigger types defined by DaqAdcTriggerSource types.

Triggering capabilities vary from device to device. Make sure that the device is
capable of performing the trigger source as it has been defined.

DerrInvCalConstant

7Ah - 122

User calibration constant out of range

DerrInvErrorCode

7Bh - 123

Invalid error code – Invalid/Undefined error code encountered when errorNum
parameter contains an undefined error code when calling daqFormatError.
Corrective Action:

Make sure that the error code number passed represents a defined error code

DerrInvAdcRange

7Ch - 124

Invalid analog input voltage range parameter – Indicates that an invalid adcRange
parameter was passed. A number of APIs use the adcRange parameter that has
the type of DaqAdcRangeT. This error indicates that at least one of these API’s was
passed an invalid range parameter.
Corrective Action:

Check all API’s that pass a parameter of type DaqAdcRangeT. Make sure that
all are passing a valid range of the type DaqAdcRangeT.

DerrInvCalTableType

7Dh - 125

Invalid calibration table type – An invalid calibration table type has been specified
when using the daqCal… API’s. The tableType parameter does not specify a valid
table type (DaqCalTableTypeT) for specified device.
Corrective Actions:

Inspect all daqCal… API’s for invalid or undefined tableType parameters. Each
tableType parameter needs to take on values defined by DaqCalTableTypeT.

Check documentation for your device to make sure that the table type
requested is valid for your device.

DerrInvCalInput

7Eh - 126

Invalid calibration input signal selection – The calibration input signal selection was
invalid. The input parameter did not represent a valid calibration input selection
setting defined by DaqCalInputT when calling the daqCalSelectInputSignal or
daqConfCalConstants API’s
Corrective Actions:

Inspect the daqCalSelectInputSignal and the daqConfCalConstants API’s to
ensure that only valid DaqCalInputT types are passed to the input parameter.

Check documentation for your device to make sure that the
daqCalSelectInputSignal and the daqConfCalConstants API’s are valid for your
device.

DerrInvRawDataFormat

7Fh - 127

Invalid raw-data format selection – Indicates an invalid raw data type selected if the
flags settings in daqSetTriggerEvent indicate an invalid raw type for the trigger
channel. This will be the case if the trigger channel is digital and the flags indicate
Signed raw data. This error may also occur if setting the rawFormat in the
daqAdcSetDataFormat to a type not defined (DaqAdcRawDataFormatT)
Corrective Actions:

If using the daqSetTriggerEvent API and setting the trigger channel to be
digital channel then set the flags parameter to use Unsigned raw data.

If using the daqAdcSetDataFormat API then make sure that the value
passed in the rawFormat parameter is a valid type defined by
DaqAdcRawDataFormatT

DerrNotImplemented

80h - 128

Feature/function not implemented yet – The requested feature or function is not yet
implemented. No corrective action available.

DerrInvDioDeviceType

81h - 129

Invalid digital I/O device type – An invalid Digital I/O device type was passed to a
daqIO… API. The devType parameter for a digital IO API is not properly defined as
a DaqIODeviceType type.
Corrective Action:

Inspect all daqIO… API’s and digital I/O API’s that use the devType
parameter for values that are not defined by the DaqIODeviceType type.

DerrInvPostDataFormat

82h – 130

Invalid Post Data Format – Indicates an invalid post processing data type when
using the daqAdcSetDataForma API. The postProcFormat parameter in the
daqAdcSetDataFormat is set to a type not defined by DaqAdcPostProcDataFormatT
Corrective Action:

If using the daqAdcSetDataFormat API then make sure that the value passed
in the postProcFormat parameter is a valid type defined by
DaqAdcPostProcDataFormatT

Advertising