Test and Measurement Forum

Problem running VB example code for ADC 11 USB connection

Post your VB and VBA discussions here

Problem running VB example code for ADC 11 USB connection

Postby Adrian Thompson » Tue Mar 02, 2010 10:31 am

I'm trying to get an existing VBA analysis program to read data from the ADC 11 data logger via the USB port.
I've installed PicoFull.exe onto a Windows XP machine and verified that PicoScope is indeed reading data.

So I would expect the sample program in the ADC1132.VBP project file to run. Unfortunately, when I hit the "Open" button on the sample program I get the message "Unable to open ADC-11 pico.sys not found"

Is there something obvious I'm missing?
In Device Manager the Pico USB controller is installed correctly - although the driver is actually called picopp.sys.
I also noticed that the sample program does not compile - there are no DECLARE FUNCTION statements for adc11_run and adc11_ready.
This may not be significant - but perhaps something on my system is out of date.

Can anyone help?
Adrian Thompson
 

Re: Problem running VB example code for ADC 11 USB connection

Postby Robin » Thu Mar 04, 2010 10:34 am

Hi Adrian

The problem is that the example is for the older parallel ADC-11, but if you set the port to 101, it should work.

pico.sys is the kernel driver for our parallel port products, picopp.sys is used for the newer USB products.

Alternatively, there is an Excel example in the SDK that uses VBA.

Regards

Robin
Robin
Zen Master
Zen Master
 
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests