Measurement Computing TempBook rev.3.0 User Manual
Page 94

9-34 tbkCommand Reference (Standard API)
TempBook User’s Manual
API Error Codes - QuickBASIC
Error Name
Error
Code
Description
CONST TerrNoError%
&H00
No error
CONST TerrBadChannel%
&H01
Specified LPT channel was out-of-range
CONST TerrNotOnLine%
&H02
Requested TempBook is not on-line
CONST TerrNoTempBook%
&H03
TempBook is not on the requested channel
CONST TerrBadAddress%
&H04
Bad function address
CONST TerrFIFOFull%
&H05
FIFO Full detected, possible data corruption
CONST TerrInvChan%
&H10
Invalid
CONST TerrInvCount%
&H11
Invalid count parameter
CONST TerrInvTrigSource%
&H12
Invalid trigger source parameter
CONST TerrInvGain%
&H14
Invalid channel gain parameter
CONST TerrInvPort%
&H17
Invalid port parameter
CONST TerrInvChip%
&H18
Invalid chip parameter
CONST TerrInvBitNum%
&H1A
Invalid bit number parameter
CONST TerrInvClock%
&H1B
Invalid clock parameter
CONST TerrInvTod%
&H1C
Invalid time-of-day parameter
CONST TerrInvGateCtrl%
&H20
Invalid gate control parameter
CONST TerrInvOutputCtrl%
&H21
Invalid output control parameter
CONST TerrInvInterval%
&H22
Invalid interval parameter
CONST TerrTypeConflict%
&H23
An integer was passed to a function requiring a character
CONST TerrMultBackXfer%
&H24
A second background transfer
CONSTTerrInvDiv%
&H25
Invalid Fout divisor
CONST TerrTCE.TYPE
&H26
TC type out of range
CONST TerrTCE.TRANGE
&H27
Temperature out-of-CJC-range
CONST TerrTCE.VRANGE
&H28
Voltage out-of-TC-range
CONST TerrTCE.PARAM
&H29
Unspecified parameter value error
CONST TerrTCE.NOSETUP
&H2A
tbkTCConvert
called before
tbkTCSetup
CONST TerrOverrun%
&H2C
A buffer overrun occurred
CONST TerrZCInvParam
&H2D
Invalid zero compensation parameter
CONST TerrZCNoSetup
&H2E
tbkZeroConvert
called before
tbkZeroSetup
CONST TerrInvCalFile
&H2F
Cannot open the specified calibration file
CONST TerrMemLock
&H30
Cannot lock allocated memory from Windows
CONST TerrMemHandle
&H31
Cannot get a memory handle from Windows
CONST TerrNoPreTActive
&H32
No pre-trigger configured