beautypg.com

Measurement Computing TempBook rev.3.0 User Manual

Page 95

background image

TempBook User’s Manual

tbkCommand Reference (Standard API) 9-35

API Error Codes - Turbo Pascal

Error Name

Error
Code

Description

TerrNoError

0

No error

TerrBadChannel

1

Specified LPT channel was out-of-range

TerrNotOnLine

2

Requested TempBook is not on-line

TerrNoTempBook

3

TempBook is not on the requested channel

TerrBadAddress

4

Bad function address

TerrFIFOFull

5

FIFO Full detected, possible data corruption

TerrInvChan

16

Invalid

TerrInvCount

17

Invalid count parameter

TerrInvTrigSource

18

Invalid trigger source parameter

TerrInvGain

20

Invalid channel gain parameter

TerrInvPort

23

Invalid port parameter

TerrInvChip

24

Invalid chip parameter

TerrInvBitNum

26

Invalid bit number parameter

TerrInvClock

27

Invalid clock parameter

TerrInvTod

28

Invalid time-of-day parameter

TerrInvGateCtrl

32

Invalid gate control parameter

TerrInvOutputCtrl

33

Invalid output control parameter

TerrInvInterval

34

Invalid interval parameter

TerrTypeConflict

35

An integer was passed to a function requiring a character

TerrMultBackXfer

36

A second background transfer was requested

TerrInvDiv

37

Invalid Fout divisor

TerrTCE_TYPE

38

TC type out-of-range

TerrTCE_TRANGE

39

Temperature out-of-CJC-range

TerrTCE_VRANGE

40

Voltage out-of-TC-range

TerrTCE_PARAM

41

Unspecified parameter value error

TerrTCE_NOSETUP

42

tbkTCConvert

called before

tbkTCSetup

TerrNot Capable

43

TempBook not capable of function

TerrOverrun

44

A buffer overrun occurred

TerrZCInvParam

45

Invalid zero compensation parameter

TerrZCNoSetup

46

tbkZeroConvert

called before

tbkZeroSetup

TerrInvCalFile

47

Cannot open the specified calibration file

TerrMemLock

48

Cannot lock allocated memory from Windows

TerrMemHandle

49

Cannot get a memory handle from Windows

TerrNoPreTActive

50

No pre-trigger configured