beautypg.com

Tbksofttrig, Tbkstopback, Tbktcautozero – Measurement Computing TempBook rev.3.0 User Manual

Page 87

background image

TempBook User’s Manual

tbkCommand Reference (Standard API) 9-27

tbkSoftTrig

DLL Function

int tbkSoftTrig(void);

C

tbkSoftTrig(void);

QuickBASIC

BtbkSoftTrig% ()

Visual Basic

VBtbkSoftTrig% ()

Turbo Pascal

tbkSoftTrig:integer;

Parameters

None

Returns

TerrNoError

- No error

See Also

tbkSetTrig

Program References

tbkSoftTrig

is used to send a software trigger command to the TempBook. This software

trigger can be used to initiate a scan or an acquisition from a program after configuring the software
trigger as the trigger source.

tbkStopBack

DLL Function

int tbkStopBack(void);

C

tbkStopBack(void);

QuickBASIC

BtbkStopBack% ()

Visual Basic

VBtbkStopBack% ()

Turbo Pascal

tbkStopBack:integer;

Parameters

None

Returns

TerrNoError

- No error

See Also

tbkRdNBack, tbkGetBackStat

Program References

tbkStopBack

stops a background operation initiated by the tbkRdNBack function.

tbkTCAutoZero

DLL Function

tbkTCAutoZero(uint zero);

C

tbkTCAutoZero(unsigned zero);

QuickBASIC

BtbkTCAutoZero% (ByVal zero%)

Visual Basic

VBtbkTCAutoZero% (ByVal zero%)

Turbo Pascal

tbkTCAutoZero( zero:word):integer;

Parameters

uint zero

If non-zero will enable auto zero compensation in the

tbkTC

… functions

Returns

TerrZCInvParam

- Invalid parameter value

TerrNoError

- No error

See Also

tbkZeroSetup, tbkZeroConvert, tbkZeroSetupConvert, tbkTCSetup, tbkTCConvert,
tbkTcSetupConvert

Program References

None

The tbkTCAutoZero function will configure the thermocouple linearization functions to
automatically perform zero compensation. This is the easiest way to use zero compensation with the
TempBook. 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.