How can i set up my Picoscope Device in Instrument Control Toolbox?

조회 수: 16 (최근 30일)
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

채택된 답변

Pico Technology
Pico Technology 2016년 2월 17일
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!
  댓글 수: 13
Pico Technology
Pico Technology 2016년 2월 29일
Hi Georg,
You need to run the PS4000aConfig file first (the examples call this script) before attempting a connection to the Instrument Driver.
The example should disconnect correctly by first calling the disconnect() function and then delete() on the Instrument Driver object (called ps4000aDeviceObj in the examples).
If you still getting errors, please post a screenshot of tmtool.
Georg Gamauf
Georg Gamauf 2016년 3월 9일
Hello! Thank you again for your support. Everything works fine now. I decided to write a script in MatLab without using the tmtool as i slowly begin to understand the source code of the examples PS4000A_ID_BLOCK_FFT_EXAMPLE and PS4000A_IC_GENERIC_DRIVER_BLOCK_FFT
I just try to understand the examples and then i will change it step by step in order to get the required results...

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jayanta Deb
Jayanta Deb 2017년 7월 31일
I have tried the upper solution of how to set up the picoscope with matlab-alas! it doesn't work. According to their new driver update we don't have to perform step 5 any more. we have to copy and paste the entire tool box package to the instrument driver package. Further there is no trace of 'src' folder anymore though I sort it out that, the two .dll file has to be pasted in all the folders(program files/pico technology/ SDK/ ) in order to make it work. If you have installed the microsoft SDK and still you find error in the mex -setup - no SDK installed its ok to move on. It should work. If the procedure is wrong please let me know because in my end it worked.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by