ps3000a series with 11 digit S/N won't open

Post any questions you may have about our current range of oscilloscopes
Post Reply
Siebje
Newbie
Posts: 0
Joined: Tue Mar 13, 2012 1:33 pm

ps3000a series with 11 digit S/N won't open

Post by Siebje » Tue Jul 31, 2018 9:50 am

Hi,

Recently, the scopes we use (Pico3206D) have started rolling over from 10 into 11 digit serial numbers (AA000/1234). It seems that this is causing issues with the driver, as sending an 11 digit S/N with ps3000aOpenUnit() fails (i.e. returns PICO_NOT_FOUND). I already made sure that the string is properly null terminated, and I've tested with Java (JNA) as well as python (ctypes) but both fail in the same way, where an old 10 digit serial number device will open successfully. ps3000aEnumerateUnits() does work correctly, and returns the 11 digit serial, as well as the proper length.

I'm currently using ps3000a.dll v1.5.0.22, but the problem persists with the version from the latest SDK (v1.6.0.17), as well as the one bundled with the latest release (v2.1.0.570). I've included the minimal python (2,7) test script that works correctly with 10 digit S/N, but fails to open with 11 digits.

Any ideas?
Attachments
ps3000test.py
(526 Bytes) Downloaded 65 times

Martyn
Site Admin
Site Admin
Posts: 3469
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: ps3000a series with 11 digit S/N won't open

Post by Martyn » Wed Aug 01, 2018 10:41 am

Try removing the / from the serial number (AA0001234) and see if that works for you.
Martyn
Technical Support Manager

Siebje
Newbie
Posts: 0
Joined: Tue Mar 13, 2012 1:33 pm

Re: ps3000a series with 11 digit S/N won't open

Post by Siebje » Tue Aug 14, 2018 8:36 am

Thanks you for your reply. Indeed sending the S/N without the "/" does the job. Might be a nice thing to document in the developer manual :wink:
Or have the scope/driver return the serial without the "/" in the first place 8)

Post Reply