Hi Hitesh, That is OK, I can load the library now! The last error was just some issue to found the prototype, my bad. I also had to change a bit the example script but it is fine. I have a question though, when I try to retrieve the voltage from the device. I use the adc2mv.m to get the real voltage...
I still have the same huge error message I posted before (with Matlab 2012a 64). I have a PS2206 not a PS2207, can it be the issue? What is the compiler you set up in mex?
Hi Hitesh, Thank yo uagain for your help, I really appreciate and I am really sorry to bother you again, but I have a huge error message when I try to load the librairy. I used: loadlibrary('ps2000a.dll','PS2000aMFile.m'); and I have: Warning: Warnings messages were produced while parsing. Check the...
Thanks again for your help Hitesh, So I tried to generate the protoype file as you suggested, I used: loadlibrary('PS2000a.dll','ps2000aApi.h','mfilename','PS2000aMFile'); I took the files PicoIpp.dll, ps2000a.dll and PS2000A.lib from the x64 folder of the drivers and the header files from the main ...
Hi Hitesh, I do not understand, this is the same file you gave me initially (July 11 post) and I still have the error: Error using loadlibrary (line 418) The function call type stdcall is not supported What do you mean by I need to generate my own prototype file. I really do not understand the code ...
Thank you Hitesh, It seems that the names of the functions and the way to use them has changed compared to the example from the previous files you gave. In particular, I am not sure how to get the handle number of the device. The function ps2000_open_unit only returns one variable (compared to two i...
I tried to use the code you gave but I have some issues. I tried matlab 2012a and 2013b 64 bits with Microsoft SDK 7.1 compiler and I get the following error:
I just bought a picoscope 2206 to use it with matlab. Unfortunately, I just noticed that the 2000 series drivers are not compatible with the 2206 model.
How I can hope to control it with matlab (64 bits)?