USB TC08 programming using dll

 
Post new topic   Reply to topic    Pico Technology Forum Index -> PicoLog
Author Message
Guest






PostPosted: Thu Apr 03, 2008 5:20 pm    Post subject: USB TC08 programming using dll Reply with quote

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
Guru


Joined: 28 Sep 2006
Posts: 96
Location: Garden City, KS USA

PostPosted: Fri Apr 04, 2008 8:09 am    Post subject: Reply with quote

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






PostPosted: Fri Apr 04, 2008 1:01 pm    Post subject: Reply with quote

hi,

I use MATLAB
Back to top
Guest






PostPosted: Tue Apr 08, 2008 12:30 am    Post subject: Reply with quote

when using usb_tc08_get_single in C, which variable contains the values of the temperature data?
Back to top
ziko
Site Admin
Site Admin


Joined: 01 Dec 2006
Posts: 667
Location: St Neots

PostPosted: Thu Apr 10, 2008 10:59 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> PicoLog
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group