Automatic zero compensation – Measurement Computing TempBook rev.3.0 User Manual
Page 55

TempBook User’s Manual
Software Calibration and Zero Compensation 7-5
/* Print the compensated samples using a 12-bit format */
printf(“/nResults of tbkRdNFore after zero compensation:/n”);
for(i=0; i<8; i++)
printf(“Channel: %2d Data: %4d/n”, i, data[i]>4);
/* Close and exit */
tbkClose
}
Automatic Zero Compensation
The tbkTCAutoZero function will configure the thermocouple linearization functions to automatically
perform zero compensation. This is the easiest way to use zero compensation when making thermocouple
measurements. When enabled, the thermocouple conversion functions will require a CJC zero reading and
a TC zero reading to precede the actual CJC and TC reading.
int tbkTCAutoZero ()
uint zero
If non-zero, will enable auto zero compensation in the tbkTC... functions
Note: See the thermocouple linearization section for a description and example of automatic zero
compensation for thermocouple measurement.