USBADC11/12 use within Delphi

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
kim
User
User


Joined: 23 Nov 2006
Posts: 2

PostPosted: Thu Nov 23, 2006 7:08 am    Post subject: USBADC11/12 use within Delphi Reply with quote

I'm having troubles accessing the ADC readings from with my Delphi App. I have installed the latest driver and example code (release PicoFull_r5_15_6.exe). The example ADC11 application also fails to correctly read the analog input channels - all channels return full scale (1023 count), even though I am applying lower voltages. I suspect the example only works for the Parallel port version (example is located within the ADC11 folder under Pico Full / Examples).

I have confirmed my device is being recognised by my system (appears under USB Controllers as 'Pico USB ADC11'). I am running Win XP, SP2.

The device works correctly when using PicoScope.

I have noticed that the example uses the DLL adc1132.dll, whereas picoscope uses usbadc11.dll (determined using Dependency Walker).

Should I also be using the usbadc11 dll? If so, do you have any example programs using this dll? Is there a .INC file that suits this dll for use within Delphi?

Cheers
Kim
Back to top
kim
User
User


Joined: 23 Nov 2006
Posts: 2

PostPosted: Tue Nov 28, 2006 3:51 am    Post subject: update Reply with quote

I've managed to write an inc file for my delphi app, and am successfully using the usbadc11 dll, based on the example for the ADC11. I've attached a copy of this for reference.

Cheers
Kim



USBADC11.INC.txt
 Description:

Download
 Filename:  USBADC11.INC.txt
 Filesize:  836 Bytes
 Downloaded:  264 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


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