PicoScope Mac Xcode compatibility

Discussion forum for the Picoscope 6 Mac software
Post Reply
ladi
Newbie
Posts: 0
Joined: Wed May 11, 2016 2:41 pm

PicoScope Mac Xcode compatibility

Post by ladi »

I am trying to program my PicoScope 2000 Series (2204A) and have included the ps2000aApi. I am trying to follow the steps and the first is to call the ps2000_open_unit() function, but this isn't even being recognised by Xcode. I have checked the headers and indeed the function isn't included in any of the relevant header files, even though the tutorial says it should be defined in the API. Could anyone help me out please? Thanks

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: PicoScope Mac Xcode compatibility

Post by Gerry »

Hi Ladi,

Unfortuntaely, the API/drivers for the 2200 series and 2200A series PicoScopes had to be assigned in a more unconventional manner. So, the ps2000Api is for the members of both the older 2200 series PicoScopes and newer 2200A series PicoScopes that are 2 channel, non-MSO, and have the smaller buffer sizes, i.e. the PicoScope 2204, 2204A, 2205 & 2205A. All of the other 2200 series Picoscopes use the ps2000aApi.

So, you need to use the ps2000Api.

Regards,

Gerry
Gerry
Technical Specialist

ladi
Newbie
Posts: 0
Joined: Wed May 11, 2016 2:41 pm

Re: PicoScope Mac Xcode compatibility

Post by ladi »

Hi Gary,

Thanks for your response. Having changed back to the ps2000 headers, I'm still having the exact same problem however. The "ps_open_unit()" function isn't defined anywhere in the ps2000.h header file, so isn't recognised by Xcode. After then including "libps2000.2.dylib", I don't see the error, but have greater than 200 errors e.g. "Source file is not valid UTF-8", "Null character ignored", etc..
These are probably syntax issues, but since I'm using a mac, I can't even view the dynamic library.

I look forward to your reply.

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: PicoScope Mac Xcode compatibility

Post by Gerry »

Hi Ladi,

In case you're unaware, as you sent in a request for help to our help desk, I've responded to you on that.

Regards,

Gerry
Gerry
Technical Specialist

Post Reply