Test and Measurement Forum

USB TC08 programming using dll

Forum for discussing PicoLog

USB TC08 programming using dll

Postby 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
Guest
 

Postby 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
gruntman
Guru
Guru
 
Posts: 109
Joined: Thu Sep 28, 2006 3:50 pm

Postby Guest » Fri Apr 04, 2008 1:01 pm

hi,

I use MATLAB
Guest
 

Postby 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?
Guest
 

Postby 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
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots


Return to PicoLog

Who is online

Users browsing this forum: No registered users and 0 guests