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 »

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

Re: UsbAdc11OpenUnit Failed with PicoLog1012

Post by Hitesh »

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,

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

Re: UsbAdc11OpenUnit Failed with PicoLog1012

Post by fishing »

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

Re: UsbAdc11OpenUnit Failed with PicoLog1012

Post by Hitesh »

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,

Post Reply