Test and Measurement Forum

adc11/10 usb vb6 crash

Post your VB and VBA discussions here

adc11/10 usb vb6 crash

Postby cemannion » Fri Oct 24, 2008 12:23 pm

Hi, I have a vb6 application which I am upgrading to use with the usb adc11. I have had a number of issues which I have resolved but cannot solve the unloading event with either ntdll.dll or adc1132.dll unload crashing vba.

I have replaced the open call to the adc dll with the usb varient. that worked for a while. I have just seen a set of usb dll declarations in the excell vba example for usb adc11 but I am not sure wether these are for vb6 or .net.

Am I missing something obvious/ have I explained the problem?

chris
cemannion
User
User
 
Posts: 2
Joined: Fri Oct 24, 2008 11:59 am

Postby ziko » Mon Oct 27, 2008 12:17 pm

Hi cemannion,

Have you tried running the ADC11 in PicoLog recorder to see if it crashes then?
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Postby cemannion » Fri Nov 21, 2008 7:45 pm

Hello all,
I see a lot of people have viewed this post. Without help from Pico (including my reading almost all relevant posts on this forum) and other web sites I have worked out some of the uses of the USB dll, this has enabled me to use the application that I had written (and which worked perfectly well with the Ppt version)with the USB adc11, to say this was hard work is not an exageration. I have read questions from a long time ago asking for documentation for this Dll, the pico response is that the documentation doesn't exist. Sureley this cannot be the case, someone wrote and presumably documented the dll if so why can't we see it. I bought the USB "upgrade" to the parallel port adc11 assuming that the blurb offering sample vb code for a new product would be different to the old product samples. I accepted in the Ppt version that the samples were as they were, but the samples for the USB adc11 are once more unintelligible to a vb programmer

kind regards chris
cemannion
User
User
 
Posts: 2
Joined: Fri Oct 24, 2008 11:59 am

Postby ziko » Mon Dec 01, 2008 3:30 pm

Hi cemannion,

Sorry to hear you have such difficulty in getting the device to do what you want. You are correct in saying that there are no documentation showing a description of the function calls, however these are similar to those for the parallel ADC11 and a list of the function calls can be found in the header of the programming example. Whilst I do admit it is not ideal, we do not have the time and resources to be able help in programming unless there is a problem with a driver or an example. There is a programming example like you said for the USBADC11 in VBA, this should be similar to using VB6.

Kind regards
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests