|
|
| Author |
Message |
Guest
|
Posted: Thu Apr 03, 2008 5:20 pm Post subject: USB TC08 programming using dll |
|
|
I want to use the functions in usbtc08.dll to read the temeprature every 100ms.
I have problems on using 'usb_tc08_get_single'.
How can I read a temperature to a variable?
Please give me an simple example |
|
| Back to top |
|
 |
gruntman Guru

Joined: 28 Sep 2006
Posts: 87
Location: Garden City, KS USA
|
Posted: Fri Apr 04, 2008 8:09 am Post subject: |
|
|
Hello Guest,
What programming language are you trying to use? Most programming languages we have provided examples for to get you a head start on your custom software. Refer to http://www.picotech.com/drivers.html for how to view these examples and what is available. If you need any help with a particular example feel free to ask away!
Regards,
Richard Boyd
Crag Technologies, Inc
http://www.pc-oscilloscopes.com |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Apr 04, 2008 1:01 pm Post subject: |
|
|
hi,
I use MATLAB |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Apr 08, 2008 12:30 am Post subject: |
|
|
| when using usb_tc08_get_single in C, which variable contains the values of the temperature data? |
|
| Back to top |
|
 |
ziko Site Admin

Joined: 01 Dec 2006
Posts: 596
Location: St Neots
|
Posted: Thu Apr 10, 2008 10:59 am Post subject: |
|
|
Hi
short usb_tc08_get_single
(
short handle,
float * temp,
short * overflow_flags,
short units
)
temp :
Pointer to an array of length [9]. There are 9
channels on the USB TC-08 (8 + cold junction) and
the readings are always placed in the array
subscript corresponding to the channel number.
Channels which are not enabled are filled with
QNaN values.
Hope this helps. |
|
| Back to top |
|
 |
|