beautypg.com

Daqcvttcsetup, Format, Purpose – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 176: Parameter summary, Parameter values, Parameter type definitions tctype

background image

daqCvtTCSetup

Also See:

daqCvtTCConvert, daqCvtTCConvertF, daqCvtTCSetupConvert, daqCvtTCSetupConvertF

Format

daqCvtTCSetup(nscan, cjcPosition, ntc, tcType, bipolar, avg)

Purpose

daqCvtTCSetup

sets up the conversion of data acquired from a thermocouple (T/C).

Parameter Summary

Parameter Type

Description

nscan DWORD

Number of channel readings in a single scan

cjcPosition DWORD

Position of the cold-junction compensation circuit (CJC) reading within
each scan--not the CJC zero reading, if any

ntc DWORD

Number of thermocouple signals that are to be converted to temperature
values

tcType TCType

Type of thermocouples that generated the measurements

bipolar BOOL

Must be set true if the readings were acquired with the device set for
bipolar operation; must be set false (zero) for unipolar operation

avg DWORD

Type of averaging to be performed

Parameter Values

nscan:

valid values range from 2 to 512; this number should be equal to

(the number of T/Cs + the number of CJCs + any zero readings + any additional voltage readings)
cjcPosition:

valid values depend on whether or not zero compensation is

being used: values range from 0 to

(nscan-2) with no zero compensation, and from 2 to (nscan-2) with zero compensation

ntc:

valid values range from 1 to [(nscan-1)-cjcPosition]

tcType:

see table below

bipolar:

valid values are either true (

≠ 0) or false ( = 0)

avg:

see table below

Parameter Type Definitions

tcType–(

TCType)

Definition

Description

Dbk19TCTypeJ

Specifies a Type J thermocouple

Dbk19TCTypeK

Specifies a Type K thermocouple

Dbk19TCTypeT

Specifies a Type T thermocouple

Dbk19TCTypeE

Specifies a Type E thermocouple

Dbk19TCTypeN28

Specifies a Type N28 thermocouple

Dbk19TCTypeN14

Specifies a Type N14 thermocouple

Dbk19TCTypeS

Specifies a Type S thermocouple

Dbk19TCTypeR

Specifies a Type R thermocouple

Dbk19TCTypeB

Specifies a Type B thermocouple

avg

Definition

Description

avg = 0

Specifies block averaging--all scans are averaged together to compute a single value for each channel

avg = 1

Specifies no averaging--each scan’s readings are converted into measured signals

avg

≥ 2

Specifies moving average--each scan’s readings are averaged with the avg-1 preceding scans’
readings before conversion

4.3-50 Daq API Command Reference

908494

Programmer’s

Manual