Pico 3403D, Matlab R2012b win7, Error using icdevice/connect

Post your MATLAB discussions here
Post Reply
xukl
Newbie
Posts: 0
Joined: Mon Jul 20, 2015 7:59 pm

Pico 3403D, Matlab R2012b win7, Error using icdevice/connect

Post by xukl »

Hello,

We have an error when connect the picoscope 3403D with Matlab R2012b (32bit version) on windows 7

Following your instruction in the forum and also youtube, we have tried these steps

1) mex -setup
2) check all the files as following
% - ps3000a.mdd
% - PS3000a.dll & ps3000aWrap.dll (Windows version of MATLAB only)
% - PS3000aMFile & ps3000aWrapMFile
% - PicoStatus.m
% - ps3000aChangePowerSource.m
% - adc2mv.m & mv2adc.m (located in the Functions directory)

3) run the example 'PS3000a_IC_Generic_Driver_1buffer_RapidBlock'

then we have this error information

Code: Select all

Opening device...

   Instrument Device Object Using Driver : PS3000a_IC_drv.mdd
 
   Instrument Information
      Type:               Oscilloscope
      Manufacturer:       Pico Technology Ltd.
      Model:              PicoScope 3000 Series
 
   Driver Information
      DriverType:         MATLAB generic
      DriverName:         PS3000a_IC_drv.mdd
      DriverVersion:      1.0
 
   Communication State
      Status:             open


   Instrument Device Object Using Driver : PS3000a_IC_drv.mdd
 
   Instrument Information
      Type:               Oscilloscope
      Manufacturer:       Pico Technology Ltd.
      Model:              PicoScope 3000 Series
 
   Driver Information
      DriverType:         MATLAB generic
      DriverName:         PS3000a_IC_drv.mdd
      DriverVersion:      1.0
 
   Communication State
      Status:             open

Connected to PicoScope device:-
Handle: 0
Batch/Serial number: 
InstrumentModel: 
Error using icdevice/connect (line 113)
An error occurred while executing the driver connect code.
Index exceeds matrix dimensions.
If this error is not an instrument error, use MIDEDIT to inspect
the driver.

Error in PS3000a_IC_Generic_Driver_1buffer_RapidBlock (line 59)
connect(ps3000a_obj);
Could you pls tell me how can I fix that? Thanks a lot!
Last edited by xukl on Thu Jul 23, 2015 10:31 am, edited 1 time in total.

Hitesh

Re: Pico 3403D, Matlab R2012b win7, Error using icdevice/con

Post by Hitesh »

Hello xukl,

The PicoScope 3403D is not fully compatible with the Instrument Driver that you are using. Please download the Instrument Driver package from the MATLAB Central File Exchange page

You will need the files from the 'ps3000a_BETA' folder and this also has published html files for some of the examples.

Are you using a 32-bit or 64-bit version of MATLAB?

You will also need up to date drivers so I will respond via your support e-mail request with links to where you can download this.

Regards,

Post Reply