Test and Measurement Forum

Error running the example scripts on Matlab

Having problems ? let us know the details here

Error running the example scripts on Matlab

Postby jasmin287 » Mon Aug 15, 2016 9:32 am

Hi all,

I am new to Pico and trying to connect the current working device (PicoScope 4262) to Matlab R2015b on Windows 10.

I have succefully installed Win. SDK 7.1, and mex -setup does recognize it, and worked by this procedure to install all components (according to Answer 1):

https://www.mathworks.com/matlabcentral ... ol-toolbox

But, when trying to run PS4000A_IC_Generic_Driver_Block.m script, Iget the following error messege:
Code: Select all
Error using instrument/delete (line 82)
Operation failed: An error occurred while executing the driver disconnect code.
Unit not closed.
If this error is not an instrument error, use MIDEDIT to inspect the driver.

Error in icdevice (line 308)
                delete(obj);

Error in PS4000A_IC_Generic_Driver_Block (line 44)
ps4000aDeviceObj = icdevice('picotech_ps4000a_generic.mdd');


Any help would be appreciated,

Many thanks!

Jasmine
jasmin287
Newbie
 
Posts: 1
Joined: Mon Aug 15, 2016 9:21 am

Re: Error running the example scripts on Matlab

Postby Hitesh » Mon Aug 15, 2016 2:18 pm

Hi Jasmine,

The PicoScope 4262 uses the API functions provided by the ps4000 driver.

Please use the following Instrument Driver package for the PicoScope 4000 Series.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2060
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests