Omega Engineering 8 Channel Thermocouple USB Data Acquisition Module TC-08 User Manual page 44

8 channel thermocouple usb data acquisition module
Table of Contents

Advertisement

40
TC-08 User's Guide
3.3.4.7
usb_tc08_legacy_get_cycle
short usb_tc08_legacy_get_cycle
(
long * cycle,
short handle
)
This routine gives the number of complete cycles of readings taken from a particular
USB TC-08. Calling
specified channel to be returned immediately. If you wish to record values only when
the driver has taken a new reading, you can use this routine to find out how many
complete cycles of readings the driver has taken. Then you can call
usb_tc08_legacy_get_temp, but only when the cycle has been incremented.
Arguments
Returns
Tip: Do not test for an exact cycle number; instead, test for a different cycle number
as your application may have missed readings. See the
example.
Note: Do not call this function unless you are operating the USB TC-08 in legacy
mode, having called usb_tc08_legacy_run.
usb_tc08_legacy_get_temp
handle
Specifies a USB TC-08 unit.
cycle
Pointer to a location where the cycle number is to be stored.
0
Use usb_tc08_get_last_error.
1
Legacy get cycle successful.
causes the most recent reading for the
Legacy mode
section for an

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents