MATLAB: How can i set up the Picoscope Device in Instrument Control Toolbox

installationInstrument Control Toolboxinstrument controll toolboxpico technologypicoscope

Hello! For my master’s thesis i need to do measurements with a measurement microphone and i use PicoScope 4824 as a USB-oscilloscope. Unfortunately i’m unable to cope with the installation/the setup in Instrument Control Toolbox. I’m pretty sure that all drivers are on the Pico-CD and somewhere in the internet, but i’m asking for something like a short guide (or similar) that guides me through the process.
I already started, but MatLab doesn’t identify the Pico and i already had a few problems with Windows SDK…
Greetz Georg

Best Answer

Hello Georg,
Below are the steps that we would recommend taking when installing our Instrument Driver packages on Microsoft Windows platforms:
  1. Download the Instrument Driver package for the PicoScope 4824 from MATLAB Central - if you are using MATLAB 2015b, you can install this via the Add-On Manager.
  2. Download and install the PicoScope Support Toolbox (again use the Add-On Manager if you have MATLAB 2015b).
  3. If you are using a 64-bit version of MATLAB, please install the Windows SDK 7.1 referring to the How do I install Microsoft Windows SDK 7.1? article and note the information about uninstalling the Microsoft Visual C++ 2010 Redistributable first.
  4. Download and install the 32-bit or 64-bit Software Development Kit (Stable Release) from the Pico Technology Downloads page - install the drivers and examples for the PS4000A driver.
  5. If you are using a 64-bit version of MATLAB navigate to the C:\Program Files (x86)\Pico Technology\SDK\src\MATLAB\ps4000a\win64 folder on your PC, and copy the ps4000a_thunk_pcwin64.dll and ps4000aWrap_thunk_pcwin64.dll files to the ps4000a\win64 directory of the Instrument Driver package that you installed in Step 1.
  6. Start MATLAB and type mex -setup then follow the instructions in order to setup Microsoft SDK 7.1 as the C compiler.
  7. Add the ps4000a directory to your MATLAB path and then try running the PS4000A_ID_Block_Example.m example script that is located in the examples directory.
There are html help pages for the examples contained in this package.
If you still require further assistance, it would be helpful to know which version of MATLAB you are using and whether it is 32-bit or 64-bit.
Hope this helps!
Related Question