Personal Daq User’s Manual
Appendix B,
887095
API Commands B-33
Table 9. API Error Codes
Error Name
Code #
hex - dec
Description
DerrNoError
00h - 0
No error
DerrBadChannel
01h - 1
Specified LPT channel was out-of-range
DerrNotOnLine
02h - 2
Requested device is not online
DerrNodaqbook
03h - 3
daqBook is not on the requested channel
DerrBadAddress
04h - 4
Bad function address
DerrFIFOFull
05h - 5
FIFO Full detected, possible data corruption
DerrBadDma
06h - 6
Bad or illegal DMA channel or mode specified for device
DerrBadInterrupt
07h - 7
Bad or illegal INTERRUPT level specified for device
DerrDmaBusy
08h - 8
DMA is currently being used
DerrInvChan
10h - 16
Invalid analog input channel
DerrInvCount
11h - 17
Invalid count parameter
DerrInvTrigSource
12h - 18
Invalid trigger source parameter
DerrInvLevel
13h - 19
Invalid trigger level parameter
DerrInvGain
14h - 20
Invalid channel gain parameter
DerrInvDacVal
15h - 21
Invalid DAC output parameter
DerrInvExpCard
16h - 22
Invalid expansion card parameter
DerrInvPort
17h - 23
Invalid port parameter
DerrInvChip
18h - 24
Invalid chip parameter
DerrInvDigVal
19h - 25
Invalid digital output parameter
DerrInvBitNum
1Ah - 26
Invalid bit number parameter
DerrInvClock
1Bh - 27
Invalid clock parameter
DerrInvTod
1Ch - 28
Invalid time-of-day parameter
DerrInvCtrNum
1Dh - 29
Invalid counter number
DerrInvCntSource
1Eh - 30
Invalid counter source parameter
DerrInvCtrCmd
1Fh - 31
Invalid counter command parameter
DerrInvGateCtrl
20h - 32
Invalid gate control parameter
DerrInvOutputCtrl
21h - 33
Invalid output control parameter
DerrInvInterval
22h - 34
Invalid interval parameter
DerrTypeConflict
23h - 35
An integer was passed to a function requiring a character
DerrMultBackXfer
24h - 36
A second background transfer was requested
DerrInvDiv
25h - 37
Invalid Fout divisor
Temperature Conversion Errors
DerrTCE_TYPE
26h - 38
TC type out-of-range
DerrTCE_TRANGE
27h - 39
Temperature out-of-CJC-range
DerrTCE_VRANGE
28h - 40
Voltage out-of-TC-range
DerrTCE_PARAM
29h - 41
Unspecified parameter value error
DerrTCE_NOSETUP
2Ah - 42
dacTCConvert
called before
dacTCSetup
daqBook
DerrNotCapable
2Bh - 43
Device is incapable of function
Background
DerrOverrun
2Ch - 44
A buffer overrun occurred
Zero and Cal Conversion Errors
DerrZCInvParam
2Dh - 45
Unspecified parameter value error
DerrZCNoSetup
2Eh - 46
dac…Convert
called before
dac…Setup
DerrInvCalFile
2Fh - 47
Cannot open the specified cal file
Environmental Errors
DerrMemLock
30h - 48
Cannot lock allocated memory from operating system
DerrMemHandle
31h - 49
Cannot get a memory handle from operating system
Pre-trigger acquisition Errors
DerrNoPreTActive
32h - 50
No pre-trigger configured
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com