Delphi program can not OPEN USB ADC11

Post general discussions on using our drivers to write your own software here
Post Reply
Langevad
User
User
Posts: 4
Joined: Fri Jul 18, 2008 3:16 pm
Location: Denmark Helsinge

Delphi program can not OPEN USB ADC11

Post by Langevad »

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 :oops:

picojohn
Advanced User
Advanced User
Posts: 382
Joined: Mon Jun 11, 2007 1:10 pm

Post by picojohn »

Hi Jan,

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

Regards
John

Langevad
User
User
Posts: 4
Joined: Fri Jul 18, 2008 3:16 pm
Location: Denmark Helsinge

SDK for the USB version should be the one downloaded.

Post by Langevad »

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" :-)

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

Best regards

Jan Langevad

Langevad
User
User
Posts: 4
Joined: Fri Jul 18, 2008 3:16 pm
Location: Denmark Helsinge

Problem solved - thanks to another user!

Post by Langevad »

Problem solved after reading:

http://www.picotech.com/support/about3022.htm :D

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

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


Jan Langevad

Post Reply