USB TC08 programming using dll

Forum for discussing PicoLog
Post Reply
Guest

USB TC08 programming using dll

Post by Guest » Thu Apr 03, 2008 5:20 pm

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

gruntman
Advanced User
Advanced User
Posts: 109
Joined: Thu Sep 28, 2006 3:50 pm

Post by gruntman » Fri Apr 04, 2008 8:09 am

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

Guest

Post by Guest » Fri Apr 04, 2008 1:01 pm

hi,

I use MATLAB

Guest

Post by Guest » Tue Apr 08, 2008 12:30 am

when using usb_tc08_get_single in C, which variable contains the values of the temperature data?

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko » Thu Apr 10, 2008 10:59 am

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.
Ziko

Technical Specialist

Post Reply