Unable to connect to 3203D from c#

Post any questions you may have about our current range of oscilloscopes
Post Reply
marius.mathisen
Newbie
Posts: 0
Joined: Thu Jan 24, 2019 10:02 am

Unable to connect to 3203D from c#

Post by marius.mathisen »

Hi,

We have different types of Picoscopes. Our 3404D works as expected but our newly bought 3203D will not connect properly. It is found (ps3000aEnumerateUnits) but will not connect (ps3000aOpenUnit). Status returns "PICO_NOT_FOUND". Details below.

Best regards
Marius Mathisen

Test code

Code: Select all

short handle
var status = PS3000AImports.OpenUnit(out handle, new StringBuilder("GO772/0112")); // returns 3 -> PICO_NOT_FOUND
Methods:

Code: Select all

[DllImport(_DRIVER_FILENAME, EntryPoint = "ps3000aEnumerateUnits")]
public static extern uint EnumerateUnits(out short count, StringBuilder serials, ref short serialLength);

Code: Select all

[DllImport(_DRIVER_FILENAME, EntryPoint = "ps3000aOpenUnit")]
public static extern uint OpenUnit(out short handle, StringBuilder serial);
Dlls:
picoipp.dll file version : 1.3.0.18 product version: 1.3.0.21
ps3000a.dll version: 2.1.9.934

Picoscopes (info from Picoscope software - About):

PicoScope® 6 - PC Oscilloscope software version: 6.13.15.4081
Copyright © 1995-2019, Pico Technology Ltd.

Model: PicoScope 3203D
Serial Number: GO772/0112
USB Version: 3.0
Calibration Date: Tuesday, August 21, 2018
Hardware Version: 1
Driver Version: 2.1.9.934
Firmware Version: 1.7.5.0 / 1.0.66.0

PicoScope® 6 - PC Oscilloscope software version: 6.13.15.4081
Copyright © 1995-2019, Pico Technology Ltd.

Model: PicoScope 3404D
Serial Number: ES288/038
USB Version: 3.0
Calibration Date: Monday, April 24, 2017
Hardware Version: 1
Driver Version: 2.1.9.934
Firmware Version: 1.7.5.0 / 1.0.66.0

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

Re: Unable to connect to 3203D from c#

Post by Martyn »

Try

Code: Select all

var status = PS3000AImports.OpenUnit(out handle, new StringBuilder("GO7720112"));
Martyn
Technical Support Manager

marius.mathisen
Newbie
Posts: 0
Joined: Thu Jan 24, 2019 10:02 am

Re: Unable to connect to 3203D from c#

Post by marius.mathisen »

Thanks Martyn - that worked : - )

Post Reply