Also I downloaded the software: choosing picoscope 3205A and I actually tried both of the 'latest version' softwares from http://www.picotech.com/software.html
for my 64 bit windows 7.
Problem is, when I try to use the icdevice('PS3000a_IC_drv.mdd') function on matlab, the error comes up:
Warning: The library name case did not match the file name.
The library will be named "ps3000a".
Warning: Escape sequence '\h' is not valid. See 'help sprintf' for valid escape sequences.
Error using instrument/delete (line 82)
Operation failed: An error occurred while executing the driver disconnect code.
Library was not found
If this error is not an instrument error, use MIDEDIT to inspect the driver.
Error in icdevice (line 279)
delete(obj);
I added all the picoscope files to the directory, and also all the files from the driver pack, including the driver.
From the instructional PDF: Connecting to a device
Use the icdevice command to create an instance of an object representing the
PicoScope 3000A/B device. This loads the required library files.
It is possible to specify the batch/serial number of the device to connect to when
creating the device object:
ps3000a_object = icdevice('ps3000a', 'TEST/001');
If you require the 64-bit prototype and 'thunk' dll files please could you e-mail support@picotech.com and we will make this available for you to download. They will be available in the next release of the SDK.
I renamed the file as PS3000a.dll and tried again. The same error message comes up, except without the first warning:
Warning: The library name case did not match the file name.
The library will be named "ps3000a".
But the rest of the errors are still there:
Warning: Escape sequence '\P' is not valid. See 'help sprintf' for valid escape sequences.
Error using instrument/delete (line 82)
Operation failed: An error occurred while executing the driver disconnect code.
Library was not found
If this error is not an instrument error, use MIDEDIT to inspect the driver.
Error in icdevice (line 279)
delete(obj);
What else could I do?
Also could I have some help with this from the pdf:
Connecting to a device
Use the icdevice command to create an instance of an object representing the
PicoScope 3000A/B device. This loads the required library files.
It is possible to specify the batch/serial number of the device to connect to when
creating the device object:
ps3000a_object = icdevice('ps3000a', 'TEST/001');
Alternatively, to proceed without specifying a batch/serial number:
ps3000a_object = icdevice('ps3000a', '');
Do I need the second variable to put into the icdevice function? How am I meant to get the serial number?
Are you using a 32-bit or 64-bit version of MATLAB?
Have you run mex -setup to configure the compiler?
Have you copied ps3000aWrap.dll to your MATLAB path or directory?
You don't need the batch/serial number to connect if you only have one scope, but it is located under the barcode on the label on underside of the device
My Questions:
1: In this zip folder of the SDK R10.5.0.28 are different folders with different files.
Which files do i need?
a) Folder /x64: not important for me because i use the 32bit version of matlab, even if i have 64Bit "computer", right?
b) Folder /Wrapper/Release/Win32 -> ps3000aWrap.dll is important for me, because i have the 32 bit version of matlab, right?
c) the whole folder of /MATLAB/.. is important
d) And all the other folders are not important, BUT the alle the other files like PicoIpp.dll, picoStatus.h., PS3000a.dll, are these files regarding the 32bit version? Do i need these files?
I am really sorry for this long mail, but i hope you can help me.
My processing system worked with the sdk version 10_5_0_28 of PicoScope for Matlab.
Then i updated the PicoScope 6 Software to the latest one, after that nothing works anymore. I can´t connect my PicoScope.
The error is can´t find a specific library.
So my question is: (i downloaded the latest one: PS3000asdk_r10_5_0_32.zip)
1: i need the whole Matlab folder -> do i need this one too? -> MATLAB/ps3000a/x64
because i have the system like i described above.
2: and i need these one: PicoIpp.dll, ps3000a.dll which i can find here: PS3000asdk_r10_5_0_32/PicoIpp.dll and not here
-> PS3000asdk_r10_5_0_32/x64/.. right?
3. what about the ...Wrap.dll which one do i need? -> This one: ...PS3000asdk_r10_5_0_32.zip\Wrapper\Release\ps3000aWrap.dll or in this one: PS3000asdk_r10_5_0_32.zip\Wrapper\Release\x64\ps3000aWrap.dll ?
4. I read something in this .txt file: PS3000asdk_r10_5_0_32.zip\system\SystemDrivers.txt about copy a file in a specific folder, which one do i need -> x86 or amd64 ?
Unfortunately, i am in a big time pressure, so i hope i can solve this problem by copying the right files into the right directory.
Only copy the ps3000a.dll and PicoIpp.dll files from the new SDK. You do not need files from the x64 directories if you are using a 32-bit version of MATLAB.
Is your MATLAB path setup to point to the PicoScope 6 installation directory?
Based on your Heldesk Support Ticket, you do not need to change the ps3000aWrap.dll file as the new SDK contains a modified wrapper dll.
Check to ensure that there aren't any instances of the PicoScope 6 running via the Windows Task Manager as this may have a lock on the device.