UsbAdc11OpenUnit Failed with PicoLog1012

Post your C and C++ discussions here
Post Reply
fishing
Newbie
Posts: 0
Joined: Thu May 03, 2012 9:47 pm

UsbAdc11OpenUnit Failed with PicoLog1012

Post by fishing » Thu May 03, 2012 9:54 pm

Hi,

I just bought a PicoLog1012, and wrote a small C program to connect to it. It keeps returning "0" on this UsbAdc11OpenUnit() function. What am I missing here? It failed on Windows XP and Windows 7 32Bits. It works fine with PicoScope6 software. Thanks.

fishing

Hitesh
Site Admin
Site Admin
Posts: 2809
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: UsbAdc11OpenUnit Failed with PicoLog1012

Post by Hitesh » Fri May 04, 2012 10:03 am

Hi fishing,

Are you looking to use the device in ADC-11 compatibility mode?

The normal function to use to open the unit is pl1000OpenUnit().

If you are looking to use the device in normal operation, please ensure that you are using the PL1000 SDK (it uses the PL1000.dll file).

Regards,
Hitesh

Technical Support Engineer

fishing
Newbie
Posts: 0
Joined: Thu May 03, 2012 9:47 pm

Re: UsbAdc11OpenUnit Failed with PicoLog1012

Post by fishing » Fri May 04, 2012 10:31 pm

Hitesh wrote:Hi fishing,

Are you looking to use the device in ADC-11 compatibility mode?

The normal function to use to open the unit is pl1000OpenUnit().

If you are looking to use the device in normal operation, please ensure that you are using the PL1000 SDK (it uses the PL1000.dll file).

Regards,

Hi Hitesh,

Thanks. My current applications are using usbadc11.dll, and I just bought this PicoLog1012. How can I make it works without recompile or build the applications? Thanks.

Fishing

Hitesh
Site Admin
Site Admin
Posts: 2809
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: UsbAdc11OpenUnit Failed with PicoLog1012

Post by Hitesh » Tue May 08, 2012 4:44 pm

Hi Fishing,

Referring to Section 2.4 in the PicoLog 1000 series Programmer's guide (http://www.picotech.com/document/pdf/pl1000pg-en-1.pdf), you need to ensure that the usbadc11.dll file is the correct version. In this case it should be 1.0.7.0 (dated 10th November 2009).

Please send an e-mail to support@picotech.com and I'll send the file to you.

Thanks,
Hitesh

Technical Support Engineer

Post Reply