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

13 次查看(过去 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