- ps4000MFile.m
- ps4000_thunk_pcwin64.dll
- ps4000WrapMFile.m
- ps4000Wrap_thunk_pcwin64.dll
Connecting an Instrument using icdevice
37 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
I'm and trying to connect a 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/answers/268391-how-can-i-set-up-my-picoscope-device-in-instrument-control-toolbox
But, when trying to run PS4000A_IC_Generic_Driver_Block.m script, which is an example script given by Pico, I get the following error messege:
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');
The line failing is:
ps4000aDeviceObj = icdevice('picotech_ps4000a_generic.mdd');
(The line before that loads the configuration file)
Any help would be appreciated,
Many thanks!
Jasmine
0 comentarios
Respuestas (3)
Pico Technology
el 8 de Sept. de 2016
Hi Jasmine,
Please ensure that the win64 folder in the Instrument Driver root folder contains the following files:
If you have installed the Pico Technology SDK, then these files will be in the following location on your PC:
C:\PicoSDK\MATLAB\ps4000\win64
Hope this helps,
0 comentarios
Raph
el 18 de Ag. de 2017
Same problem here. The device object was not deleted and its handle no longer accessible. Restarting Matlab or even the PC does not solve the problem.
Has anyone found a solution?
Thanks.
0 comentarios
Pico Technology
el 31 de Ag. de 2017
Editada: Pico Technology
el 31 de Ag. de 2017
Hi Raph,
Which PicoScope are you using?
If the connection to the device has not been closed correctly, the driver will still have a lock on it and you may need to close MATLAB via the Task Manager.
Please install the latest version of the files via the MATLAB Add-Ons Explorer (click on the Learn More button in the File Exchange entry to view information on installation and prerequisites).
Regards,
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!