Measurement-computing TempBook rev.3.0 Manual do Utilizador Página 77

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 166
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 76
TempBook Users Manual tbkCommand Reference (
Standard
API) 9-17
tbkRdTempScan
DLL Function
tbkRdTempScan(uint startChan, uint endChan, uchar tcType, int * temp)
C
tbkRdTempScan(unsigned startChan, unsigned endChan, unsigned tcType, int *
temp);
QuickBASIC
BtbkRdTempScan% (ByVal startChan%, ByVal endChan%, ByVal tcType%, temp%)
Visual Basic
VBtbkRdTempScan% (startChan%, endChan%, tcType%, temp%())
Turbo Pascal
tbkRdTempScan( startChan:word; endChan:word; tcType:word;
temp:DataP):integer;
Parameters
uint startchan
Single channel number (see table at end of chapter for valid values)
uint endChan
Ending channel of the scan group (see table at end of chapter for valid values)
uint tcType
Thermocouple type (see table at end of chapter for valid values)
int *temp
An array where the A/D scan will be placed.
Returns
TerrInvChan
- Invalid Channel
TerrTCE_Type
- Invalid Thermocouple Type
See Also
tbkRdTemp, tbkRdTempN, tbkRdTempScanN, tbkTCSetup, tbkTCConvert,
tbkTCSetupConvert
Program References
TEMPEX1 (all languages)
tbkRdTempScan
is used to take thermocouple readings from analog input channels 'startChan'
through 'endChan'. The readings will be zero corrected, span corrected, and linearized to yield
temperature readings in tenths of a degree Celsius. This function will use software triggering to
immediately trigger and acquire one scan.
If a calibration constant file with the default name "
tempbook.cal
" is not visible to the calling
program, then no span correction is performed.
tbkSetMode
must be called before this function to configure the TempBook for differential
operation in either unipolar or bipolar mode.
Vista de página 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 165 166

Comentários a estes Manuais

Sem comentários