beautypg.com

Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 181

background image

Returns

DerrTCE_TYPE

Invalid thermocouple type

DerrTCE_PARAM

Parameter out-of-range

DerrNoError

No

error

For more details on error messages refer to the Daq Error Table.

Function Usage

For all functions of the form daqCvt..., raw data to be converted must be unsigned
(i.e., the dafUnsigned value must be set using the daqAdcSetScan function).


For T/C and RTD conversion, users of Daq/2000 Series devices* and/or Daq PC Cards must
be sure that the main unit is using ten volt range gains settings, either unipolar (0 V to 10 V)
or bipolar (-5 V to +5 V).

See the “T/C Gains Settings” section in the daqCvtTCConvert function entry for the
appropriate settings.

*
Daq/2000 Series devices include DaqBook/2000 Series, DaqScan/2000 Series, DaqLab/2000

Series, and DaqBoard/2000 Series devices.

The daqCvtTCSetupConvert function combines the operationns of the both the daqCvtTCConvert
function and the daqCvtTCSetup function. For more detailed information on using thermocouples (T/Cs)
and converting data refer to the entries for daqCvtTCConvert and daqCvtTCSetup

The daqCvtTCSetupConvertF function combines the operationns of the both the daqCvtTCConvertF
function and the daqCvtTCSetup function. For more detailed information on using thermocouples (T/Cs)
and converting data refer to the entries for daqCvtTCConvertF and daqCvtTCSetup

Prototypes

C/C++

daqCvtTCSetupConvert(DWORD nscan, DWORD cjcPosition, DWORD ntc, TCType
tcType, BOOL bipolar, DWORD avg, PWORD counts, DWORD scans, PSHORT temp,
DWORD ntemp);

Visual BASIC

VBdaqCvtTCSetupConvert&(ByVal nscan&, ByVal cjcPosition&, ByVal ntc&,
ByVal tcType&, ByVal bipolar&, ByVal avg&, counts%, ByVal scans&, temp%,
ByVal ntemp&)

Program References

DBK19EX.CPP, DBK52EX.CPP, DBK81EX.CPP, DBK82_83EX.CPP, DBK90EX.CPP

Programmer’s Manual

908494

Daq API Command Reference 4.3-55