Search found 9 matches

by sebastien.popoff
Sat Sep 14, 2013 11:42 am
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

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...
by sebastien.popoff
Fri Sep 13, 2013 10:26 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

Hi Hitesh,

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?

Regards,

Sebastien
by sebastien.popoff
Wed Sep 11, 2013 11:22 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

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...
by sebastien.popoff
Tue Sep 10, 2013 4:02 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

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 ...
by sebastien.popoff
Tue Sep 10, 2013 2:08 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

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 ...
by sebastien.popoff
Mon Sep 09, 2013 6:18 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

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...
by sebastien.popoff
Fri Sep 06, 2013 7:07 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

Hi Hitesh,

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:

Code: Select all

Error using loadlibrary (line 418)
The function call type stdcall is not supported
What did I do wrong?

Thanks,
by sebastien.popoff
Thu Jul 18, 2013 6:54 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

Re: PicoScope 2000 MATLAB Instrument Driver - Alpha Release

Thank you Hitesh!

I will test that very soon.
by sebastien.popoff
Wed Jul 10, 2013 6:33 pm
Forum: MATLAB
Topic: PicoScope 2206 with 64-bit MATLAB
Replies: 21
Views: 26498

PicoScope 2206 with 64-bit MATLAB

Hi,

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)?

Thanks,

Sebastien