Problem connecting to picoscope 2204a via app designer

Post your MATLAB discussions here
Post Reply
LeonDavid
Newbie
Posts: 0
Joined: Wed Jun 26, 2019 7:34 pm

Problem connecting to picoscope 2204a via app designer

Post by LeonDavid »

Hi guys,

Recently i started a new project in matlab app designer and picoscope 2204a.
i have problem to connect to the device.

i got this message :

Error using icdevice/connect (line 114)
An error occurred while executing the driver connect code.
Undefined variable "ps2000Enuminfo" or class "ps2000Enuminfo.enPS2000Range.PS2000_50MV".

It happens just when i'm trying to connect with app designer, in regular matlab script the same code runs well.

I would be very happy to get help for this problem.

Thanks,
Leon

ae3007
Newbie
Posts: 0
Joined: Wed Aug 28, 2019 6:48 pm

Re: Problem connecting to picoscope 2204a via app designer

Post by ae3007 »

I'm having this same issue. Any chance you figured it out?

NeilH
PICO STAFF
PICO STAFF
Posts: 265
Joined: Tue Jul 18, 2017 8:28 am

Re: Problem connecting to picoscope 2204a via app designer

Post by NeilH »

Hi

My guess would be that you're running the ps2000Config file which creates things within the workspace that are needed when using the addon to control the scope, so when using app designer you would need to modify this so that these are loaded into the app's workspace instead of the main MATLAB one.

Neil
Neil
Technical Support Engineer

Post Reply