beautypg.com

Api reference tables, 32), s – Measurement Computing TempBook rev.3.0 User Manual

Page 92

background image

9-32 tbkCommand Reference (Standard API)

TempBook User’s Manual

API Reference Tables

These tables provide information for programming with the TempBook/66 Application Programming
Interface. The tables are organized as follows:

API Parameter Reference Tables

Table Title

Page

A/D Channel Descriptions

9-32

A/D Gain Definitions

9-32

A/D Trigger Source Definitions

9-32

Pretrigger Functions Trigger Source Definitions

9-33

Thermocouple Types

9-33

API Error Codes - C Languages

9-33

API Error Codes - QuickBASIC

9-34

API Error Codes - Turbo Pascal

9-35

API Error Codes - Visual Basic

9-36

A/D Channel Descriptions

A/D Channel

Source

0 to 15*

Analog input channels 0 to 15

16

CJC Channel

18

Shorted Channel

272

High-speed digital Inputs

*Note: In differential mode only channels 0 to 7 are valid.

A/D Gain Definitions

BASE UNIT
Description

Value

TgainX1

0x00

TgainX2

0x10

TgainX5

0x20

TgainX10

0x30

TgainX20

0x11

TgainX50

0x21

TgainX100

0x31

TgainX200

0x32

TbkBiCJC

0x21

TbkBiTypeJ

0x31

TbkBiTypeK

0x31

TbkBiTypeT

0x32

TbkBiTypeE

0x21

TbkBiTypeN28

0x31

TbkBiTypeN14

0x31

TbkBiTypeS

0x32

TbkBiTypeR

0x32

TbkBiTypeB

0x32

TbkUniCJC

0x31

TbkUniTypeJ

0x32

TbkUniTypeK

0x32

TbkUniTypeT

0x32

TbkUniTypeE

0x31

TbkUniTypeN28

0x32

TbkUniTypeN14

0x32

TbkUniTypeS

0x32

TbkUniTypeR

0x32

TbkUniTypeB

0x32

A/D Trigger Source Definitions

Definition

Value

Trigger

TtsPacerClock

0x00

8254 Pacer Clock

TtsSoftware

0x10

Software

TtsTTLFall

0x20

External TTL falling edge

TtsTTLRise

0x30

External TTL rising edge