32

TC-08 User's Guide

3.3.3.4usb_tc08_get_temp

long usb_tc08_get_temp

(

short

handle,

float * temp_buffer,

long

* times_ms_buffer,

long

buffer_length,

short * overflow,

short

channel,

short

units,

short

fill_missing

)

Once you open the driver and set up some channels, you can call the usb_tc08_run routine. The driver will then begin to continually take readings from the USB TC-08. Use the usb_tc08_get_temp routine to retrieve readings from the driver's buffer periodically. You must call the function at least once per minute to avoid losing data (the driver's buffer is circular, so the oldest readings will be overwritten first).

Streaming mode relies on the driver to buffer readings without interruption. If the driver does not get enough share of the PC's processor time (the most frequent cause of which is too many applications running at the same time), readings will be dropped and the sample buffer will be padded with QNaN floating integers.

Warning: The padding of the buffer is also dependent on the performance of the PC and under very heavy processor loading, padding may not always be accurate.

 

Arguments

handle

Specifies the USB TC-08 unit.

 

 

 

temp_buffer

Pointer to a location where the readings are to be placed.

 

 

 

times_ms_buffer

Returns the time that the first channel was converted

 

 

 

 

(optional.)

 

 

 

buffer_length

Length of data buffers.

 

 

 

overflow

Pointer to a variable that will be assigned a value of 1 if

 

 

 

 

an overflow occured on any of the readings copied into

 

 

 

 

temp_buffer, or 0 if an overflow did not occur. An

 

 

 

 

overflow occurs when the input signal is higher than the

 

 

 

 

measuring range of the USB TC-08.

 

 

 

channel

Specifies the channel to read the temperature from.

 

 

 

units

Specifies the temperature units for returned data:

 

 

 

 

0: USBTC08_UNITS_CENTIGRADE

 

 

 

 

1: USBTC08_UNITS_FAHRENHEIT

 

 

 

 

2: USBTC08_UNITS_KELVIN

 

 

 

 

3: USBTC08_UNITS_RANKINE

 

 

 

 

Voltages are always returned in millivolts

 

 

 

fill_missing

Choose whether or not to replace QNaN values with the

 

 

 

 

last known value:

 

 

 

 

0 - Use QNaNs to represent missing readings

 

 

 

 

1 - Fill missing readings with previous good reading.

 

 

Returns

-1

An error occurred, use usb_tc08_get_last_error to get the

 

 

 

 

code.

 

 

 

0

Currently no readings to collect.

 

 

 

> 0

Number of readings copied into array (there may still be

 

 

 

 

more readings in the driver's internal buffer.)

 

 

 

 

 

 

Page 36
Image 36
Omega Speaker Systems TC-08 manual Long usbtc08gettemp Short Handle Float * tempbuffer, Tempbuffer, Timesmsbuffer, Overflow

TC-08 specifications

The Omega Speaker Systems TC-08 is a remarkable speaker system that combines advanced technology with exceptional audio performance, making it a favorite among audiophiles and casual listeners alike. With a sleek and modern design, the TC-08 is designed to blend seamlessly into any home audio setup while delivering outstanding sound quality.

One of the standout features of the TC-08 is its wide frequency response range, which captures the full spectrum of sound, from deep bass tones to crisp treble notes. This is achieved through the use of high-quality drivers that are engineered for performance. The 8-inch woofer is designed to deliver powerful low frequencies, providing the depth and impact needed for an immersive listening experience. The tweeter, on the other hand, is finely tuned to ensure that high frequencies are clear and well-defined, allowing listeners to appreciate the intricate details of their favorite music.

The TC-08 also incorporates advanced technologies that enhance the overall audio experience. One such technology is the use of a custom crossover network, which intelligently directs the appropriate frequencies to each driver, ensuring optimal performance and sound clarity. This results in a well-balanced output that can handle various music genres with ease. Furthermore, the speaker’s configuration minimizes distortion, even at higher volumes, meaning listeners can enjoy their music at any level without compromising sound quality.

In addition to its impressive audio capabilities, the Omega Speaker Systems TC-08 is designed with user convenience in mind. The speaker features versatile connectivity options, making it compatible with a wide range of audio sources. Whether connecting to a home theater system, a dedicated stereo setup, or streaming music from a Bluetooth-enabled device, the TC-08 provides users with flexibility and convenience.

The build quality of the TC-08 is also noteworthy. Constructed with durable materials, the speaker is designed to endure the rigors of daily use while maintaining its aesthetic appeal. The elegant finish and thoughtful design details ensure that the TC-08 not only sounds great but also looks great in any environment.

In summary, the Omega Speaker Systems TC-08 offers a blend of excellent audio performance, advanced technologies, and thoughtful design. With its powerful drivers, custom crossover network, and versatile connectivity options, it stands out as a top choice for anyone looking to enhance their listening experience. Whether for casual listening or serious audio enjoyment, the TC-08 is a speaker system that delivers on all fronts.