beautypg.com

Measurement Computing WaveBook rev.3.0 User Manual

Page 233

background image

WaveBook User’s Manual,

6-24-99

daqX API - Command Reference D-37

API Error Codes (Table 2 of 2)

Error Name

Code #

hex - dec

Description

Daq FIFO Errors (DaqBoard only)
DerrInvDacChan

33h - 51

DAC channel does not exist

DerrInvDacParam

34h - 52

DAC parameter is invalid

DerrInvBuf

35h - 53

Buffer points to NULL or buffer size is zero

DerrMemAlloc

36h - 54

Could not allocate the needed memory

DerrUpdateRate

37h - 55

Could not achieve the specified update rate

DerrInvDacWave

38h - 56

Could not start waveforms because of missing or invalid parameters

DerrInvBackDac

39h - 57

Could not start waveforms with background transfers

DerrInvPredWave

3Ah - 58

Predefined waveform not supported

RTD Conversion Errors
DerrRtdValue

3Bh - 59

rtdValue

out-of-range

DerrRtdNoSetup

3Ch - 60

rtdConvert

called before rtdSetup

DerrRtdArraySize

3Dh - 61

Temperature array not large enough

DerrRtdParam

3Eh - 62

Incorrect RTD parameter

DerrInvBankType

3Fh - 63

Invalid bank-type specified

DerrBankBoundary

40h - 64

Simultaneous writes to DBK cards in different banks not allowed

DerrInvFreq

41h - 65

Invalid scan frequency specified

DerrNoDaq

42h - 66

No Daq112B/216B installed

DerrInvOptionType

43h - 67

Invalid option-type parameter

DerrInvOptionValue

44h - 68

Invalid option-value parameter

New API Error Codes
DerrTooManyHandles

60h - 96

No more handles available to open

DerrInvLockMask

61h - 97

Only a part of the resource is already locked, must be all or none

DerrAlreadyLocked

62h - 98

All or part of the resource was locked by another application

DerrAcqArmed

63h - 99

Operation not available while an acquisition is armed

DerrParamConflict

64h - 100

Each parameter is valid, but the combination is invalid

DerrInvMode

65h - 101

Invalid acquisition/wait/dac mode

DerrInvOpenMode

66h - 102

Invalid file-open mode

DerrFileOpenError

67h - 103

Unable to open file

DerrFileWriteError

68h - 104

Unable to write file

DerrFileReadError

69h - 105

Unable to read file

DerrInvClockSource

6Ah - 106

Invalid acquisition mode

DerrInvEvent

6Bh - 107

Invalid transfer event

DerrTimeout

6Ch - 108

Time-out on wait

DerrInitFailure

6Dh - 109

Unexpected result occurred while initializing the hardware

DerrBufTooSmall

6Eh - 110

Unexpected result occurred while initializing the hardware

DerrInvType

6Fh - 111

Invalid acquisition/wait/dac mode

DerrArraySize

70h - 112

Used as a catch all for arrays not large enough

DerrBadAlias

71h - 113

Invalid alias names for Vxd lookup

DerrInvCommand

72h - 114

Invalid command

DerrInvHandle

73h - 115

Invalid handle

DerrNoTransferActive

74h - 116

Transfer not active

DerrNoAcqActive

75h - 117

Acquisition not active

DerrInvOpstr

76h - 118

Invalid operation string used for enhanced triggering

DerrDspCommFailure

77h - 119

Device with DSP failed communication

DerrEepromCommFailure

78h - 120

Device with EEPROM failed communication

DerrInvEnhTrig

79h - 121

Device using enhanced trigger detected invalid trigger type

DerrInvCalConstant

7Ah - 122

User calibration constant out of range

DerrInvErrorCode

7Bh - 123

Invalid error code

DerrInvAdcRange

7Ch - 124

Invalid analog input voltage range parameter

DerrInvCalTableType

7Dh - 125

Invalid calibration table type

DerrInvCalInput

7Eh - 126

Invalid calibration input signal selection

DerrInvRawDataFormat

7Fh - 127

Invalid raw-data format selection

DerrNotImplemented

80h - 128

Feature/function not implemented yet

DerrInvDioDeviceType

81h - 129

Invalid digital I/O device type

DerrInvPostDataFormat

82h - 130

Invalid post-processing data format selection