Delphi program can not OPEN USB ADC11

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


Joined: 18 Jul 2008
Posts: 4
Location: Denmark Helsinge

PostPosted: Fri Jul 18, 2008 3:32 pm    Post subject: Delphi program can not OPEN USB ADC11 Reply with quote

The DELPHI program in the SDK cannot OPEN the USB ADC11 (on my PC at least - Running on XP SP2)

OBS: I have changed the Port and Product numbers to reflect the USB version of ADC11 (Port 101, Product 111).

I have based a product on Delphi (7) and the USB ADC11, but
I can't deliver it, as it cannot OPEN, UNLESS PicoScope has
been running first.

Has anyone an idea of what is missing?

Installing Picoscope, should be enough to make the SDK programs work,
accoding to Picotech. But it seems to be not enough.

When PicoScope has been running after a PC start, everything works OK.
Both the Delphi SDK demo program, as well as my own.

Some driver is probably loaded by PicoScope, that is a must,
for our own Delphi programs to run.

Best regards

Jan Langevad

P.S. Same issue is sent to support at Picotech to day, as this is a bit urgent for me - has to deliver my product next week Embarassed
Back to top
picojohn
Site Admin
Site Admin


Joined: 11 Jun 2007
Posts: 391

PostPosted: Tue Jul 22, 2008 8:54 am    Post subject: Reply with quote

Hi Jan,

There are two different SDKs for the ADC-11 ... Parallel and USB version.
Which version did you download?

Regards
John
Back to top
Langevad
User
User


Joined: 18 Jul 2008
Posts: 4
Location: Denmark Helsinge

PostPosted: Tue Jul 22, 2008 11:47 am    Post subject: SDK for the USB version should be the one downloaded. Reply with quote

Hi John.
Thanks for asking.

I did download the SDK for the USB version.
I can see the USB related DLL (.H and .LIB) files, but the Delphi test/demo program seems to use the non USB version og the ADC11.

I guess my problem can be boiled down to a missing *.INC file, related to, and working with the USB based ADC11.

It was easy to use the .INC for me, but the file included, it is "talking
to the wrong product/DLL, so to speach.
I'm not capable of making a .INC file, that will work with the correct (USB) DLL.

I find that a correct, working .INC file (or other method), related to the product we are using (USB ADC11) should be provided with the product.
I'm not the right one to make that - I'm best at making and selling our ownapplications, not "drivers" Smile

The right solution should also address the USB specific functions:
"ASYNC open" and "Progress-chech".

Best regards

Jan Langevad
Back to top
Langevad
User
User


Joined: 18 Jul 2008
Posts: 4
Location: Denmark Helsinge

PostPosted: Wed Jul 23, 2008 2:33 pm    Post subject: Problem solved - thanks to another user! Reply with quote

Problem solved after reading:

http://www.picotech.com/support/about3022.htm Very Happy

Thanks to the author of that problem/and solution. Exclamation
And thanks for the usbadc11.inc file !!!!!!

Still hard work, after this great fixing tool - but never the less.
Embarassed


Jan Langevad
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