Disconnect Hang Problem

Post your MATLAB discussions here
Post Reply
Rumchiller
Newbie
Posts: 0
Joined: Sat Feb 21, 2015 12:18 pm

Disconnect Hang Problem

Post by Rumchiller »

Hello!

My first experience today with the 3203D and Matlab:

%%%%%
ps3000a_obj = icdevice('PS3000a_IC_drv','');
connect(ps3000a_obj)
%%%%%

Everything ok so far. Now, when i want to disconnect, Matlab hangs and i can only kill the task. No error, it just hangs.

%%%%%
disconnect(ps3000a_obj)
%%%%%

What am I doing wrong?

Reggie

Hitesh

Re: Disconnect Hang Problem

Post by Hitesh »

Hi Reggie,

What is the Instrument Driver version displayed when the connect function is called?

Are you using a 32-bit or 64-bit version of MATLAB and did you obtain the dll files from version 10.5.2.1 of the PS3000a SDK?

Regards,

Rumchiller
Newbie
Posts: 0
Joined: Sat Feb 21, 2015 12:18 pm

Re: Disconnect Hang Problem

Post by Rumchiller »

Hi Hitesh,

I am using Win7 64bit, Matlab 2014 32bit and I have downloaded the 10.5.2.1 SDK. I am loading all the 32bit dlls.

The Instrument Driver version is confusing me: When I connect to the device it shows me:

Code: Select all

Driver Information
      DriverType:         MATLAB generic
      DriverName:         PS3000a_IC_drv.mdd
      DriverVersion:      1.0
But when I open the Matlab Instrument Driver Editor, under "Summery", I see "Driver version 1.2.1".

Reggie

Hitesh

Re: Disconnect Hang Problem

Post by Hitesh »

Hi Rumchiller,

MATLAB 2014a and earlier do not show the version correctly, while R2014b and later do.

Regards,

Post Reply