User manual
Technical reference 20
Copyright 2004 Pico Technology Limited. All rights reserved.
3.3.2.6 usb_tc08_set_mains
short usb_tc08_set_mains( short handle,
short sixty_hertz)
This routine sets the USB TC-08 to reject either 50 or 60 Hz.
Arguments:
handle
- Specifies the USB TC-08 unit.
sixty_hertz
- Specifies whether to reject 50Hz or 60Hz. If set to 1, the unit will
reject 60Hz, if set to 0, the unit will reject 50Hz.
Returns:
0
- Use
usb_tc08_get_last_error
.
1
- Mains rejection set correctly.
Note: If the rejection is not set correctly the unit will be more susceptible to mains interference.
3.3.2.7 usb_tc08_get_minimum_interval_ms
long usb_tc08_get_minimum_interval_ms (short handle)
This routine returns the minimum sampling interval (or fastest millisecond interval) that the unit can
achieve in its current configuration. The configuration is defined by calling
usb_tc08_set_channel()
.
Arguments:
handle
- Specifies the USB TC-08 unit.
Returns:
0
- Use
usb_tc08_get_last_error.
Minimum
Interval
- Minimum sampling interval for current setup (in milliseconds).
Note: The USB TC-08 can sample, from a single channel, at a rate of 10 samples per second. The
absolute minimum sampling interval, with all 8 channels and the cold junction enabled, is 900 ms. You
must ensure that you set up all the channels that you wish to use before calling this routine.
3.3.2.8 usb_tc08_get_unit_info
short get_unit_info( short handle,
USBTC08_INFO * info)