Driver routines, Introduction, 1 introduction – Omega Speaker Systems 8 Channel Thermocouple USB Data Acquisition Module TC-08 User Manual
Page 18: 3 driver routines
TC-08 User's Guide
14
3.3
Driver routines
3.3.1
Introduction
The following table explains each of the USB TC-08 routines:
Routine
Description
New USB and serial mode
Opens the USB TC-08 unit and gets a valid USB handle.
Opens the unit asynchronously.
Polls the unit's enumeration progress during
asynchronous operation.
Closes the handle.
Stops the unit streaming.
Sets the mains interference rejection filter to either 50
Hz or 60 Hz.
usb_tc08_get_minimum_interval_ms
Returns the minimum sampling interval for the current
setup.
Retrieves information on a particular unit and presents it
as a structure.
Retrieves information on a particular unit and presents it
in string form.
Returns the last error for a specified unit or for a call to
open a unit.
New USB mode only
Sets up a USB TC-08 channel.
Starts the USB TC-08 unit streaming.
Converts readings from currently set up channels on
demand.
In streaming mode, retrieves temperature readings from
a specified channel.
In streaming mode, retrieves temperature readings from
a specified channel with time deskewed.
Legacy mode only
Starts the USB TC-08 unit running in legacy mode.
Sets up a USB TC-08 channel.
Retrieves temperature readings from a specified channel.
usb_tc08_legacy_get_cold_junction
Retrieves a temperature reading for the cold junction.
usb_tc08_legacy_get_driver_version
Returns the driver version.
Returns the hardware version of the USB TC-08 unit.
Returns the number of readings taken so far.