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

Programmer’s Manual
908594
Daq API Command Reference 4.7-3
API Error Codes (Cont.) – daqError
Error Name
Code # hex - dec
Description
DerrInvOutputCtrl
21h - 33 Invalid output control parameter – Bad Output Control specified when programming
the 9513 for timer output.
Corrective Actions:
•
Specify a valid 9513 Gate Control value.
DerrInvInterval
22h - 34 Invalid interval parameter – Bad interval specified when programming the 9513 for
frequency measurement over the interval.
Corrective Actions:
•
Specify an interval for the 9513 that can properly be used to measure a
frequency over.
DerrTypeConflict
23h - 35 Obsolete Error Code
DerrMultBackXfer
24h - 36 A second background transfer was requested – Another acquisition transfer has
been requested when one is already active. Only one transfer can be active on a
device at any given time.
Corrective Actions:
•
Wait for the first transfer to complete then start the new transfer
•
Disarm (daqDisarm) the first transfer so that a new transfer can be started.
DerrInvDiv
25h - 37 Invalid Fout divisor – foutDiv parameter for the daq9513SetMasterMode API is out of
range (>15)
Corrective Actions:
•
Set the foutDiv parameter <15
Temperature Conversion Errors
Error Name
Code # hex - dec
Description
DerrTCE_TYPE
26h - 38
TC type out-of-range – An undefined TC type value has been specified.
Corrective Actions:
•
Check that a valid TC type has been specified (see TC Types Table)
DerrTCE_TRANGE
27h - 39
Temperature out-of-CJC-range – Temperature at CJC is outside of the specified
operating range of the CJC. Invalid CJC readings and corresponding temperature
channel readings may be inaccurate due to CJC out of range.
Corrective Actions:
•
Operate device and/or expansion units under temperature conditions which
are not outside the specified range of the CJC.
DerrTCE_VRANGE
28h - 40
Voltage out-of-TC-range – The voltage level of the TC input on the channel is
outside of the specified range of the TC configured for the channel. Temperature
readings may be inaccurate due to voltage levels being outside of the specified
range of the TC.
Corrective Actions:
•
Check to ensure that the correct TC type is physically connected to the
specified channel and is connected securely.
•
Check to ensure that the physical channel has been configured to the correct
TC value in the application.
•
Check that the temperature level at the TC juncture is within the operating
range of the TC.
DerrTCE_PARAM
29h - 41
Unspecified parameter value error – bad parameter was passed to daqTCSetup
and/or daqTCConvert
Corrective Actions:
•
Check to ensure that the daqTCSetup and daqTCConvert have been called
with the proper parameters for the operation.
•
Check to ensure that daqTCSetup and daqTCConvert have not returned an
error
DerrTCE_NOSETUP
2Ah - 42
DaqTCConvert
called before daqTCSetup – TC setup has not been properly
initialized – possibly due to order of precedence for these API’s has not been
performed correctly.
Corrective Actions:
•
Check to ensure that the daqTCSetup is called before daqTCConvert.
•
Check to ensure that the daqTCSetup has been called with the proper
parameters for the operation.
•
Check to ensure that daqTCSetup has not returned an error.
Device Capabilities
Error Name
Code # hex - dec
Description
DerrNotCapable
2Bh - 43
Device is incapable of function – The device is not capable of performing the
operation or function specified.
Corrective Actions:
•
Refer to product documentation to ensure that the device is capable of
performing the specified operation or function.
•
Check to ensure that the application is referencing the proper handle for the
device and not using a handle opened for another device.