Matlab
Matlab
Hi, I'm told there are some basic Matlab drivers/routines available somewhere for the ADC212. Could anyone point me in the right direction. Apparently Pico Technology made up some rough code but doesn't distribute it with the other software.
Thanks in advance for any help.
Richard.
Thanks in advance for any help.
Richard.
- markspencer
- Site Admin
- Posts: 598
- Joined: Wed May 07, 2003 9:45 am
Hi,
We do have some very simple examples for MatLab, which can be used with the ADC2xx range of products
If you provide your email address to me I will forward the files onto you:
email: tech@picotech.com
Best regards,
We do have some very simple examples for MatLab, which can be used with the ADC2xx range of products
If you provide your email address to me I will forward the files onto you:
email: tech@picotech.com
Best regards,
Regards,
Mark Spencer
Mark Spencer
I would like to get these files as well please. I have pico 212-100. I need to talk to device through MatLab. Could you please send it to saulius0317(et)yahoo(dot)com
Thank you in advance.
P.S. sorry that I passed this "Contact information can be posted only by registered users". I really need these files...
Saulius
Thank you in advance.
P.S. sorry that I passed this "Contact information can be posted only by registered users". I really need these files...
Saulius
Re: Matlab
Hello,
Do you have examples of programs in Matlab for Pico2205 as well?
(for block mode or fast streaming mode)
I really thank you in advance!
Do you have examples of programs in Matlab for Pico2205 as well?
(for block mode or fast streaming mode)
I really thank you in advance!
Re: Matlab
Hi,
Unfortunately we do not have any examples for Matlab at the moment for the 2205. If anybody has some example please feel free to share this.
Kind regards
Unfortunately we do not have any examples for Matlab at the moment for the 2205. If anybody has some example please feel free to share this.
Kind regards
Ziko
Technical Specialist
Technical Specialist
-
- Newbie
- Posts: 0
- Joined: Wed Dec 15, 2010 6:13 pm
Re: Matlab
do you have matlab examples for pico3206?
Re: Matlab
I'm afraid we don't have any matlab examples for this scope.
Re: Matlab
Hello,
Do you have examples of programs in Matlab for USB DrDAQ or original DrDAQ ?
Regards.
Do you have examples of programs in Matlab for USB DrDAQ or original DrDAQ ?
Regards.
-
- Advanced User
- Posts: 2856
- Joined: Tue May 31, 2011 3:43 pm
- Location: St. Neots, Cambridgeshire
Re: Matlab
Hi,
We don't currently have any MATLAB examples that we have created for our products including the DrDAQ (both USB and parallel port versions).
However, there is an example created by another Customer that shows how to use MATLAB with a PicoScope 2000 series PC Oscilloscope which you can use as a starting point. Please visit http://www.picoapps.com/coders-corner/ and look under the Mini-apps section.
Create a directory on your PC containing the appropriate dll and the corresponding DrDAQApi.h file, and create your MATLAB script in this directory. An example to load the library, and open and close a connection to the USB DrDAQ would be:
Once you have loaded the library in, you can use the 'libfunctionsview' function to view the functions from the dll that have been loaded into the MATLAB environment providing you have not unloaded the library.
I hope this helps.
We don't currently have any MATLAB examples that we have created for our products including the DrDAQ (both USB and parallel port versions).
However, there is an example created by another Customer that shows how to use MATLAB with a PicoScope 2000 series PC Oscilloscope which you can use as a starting point. Please visit http://www.picoapps.com/coders-corner/ and look under the Mini-apps section.
Create a directory on your PC containing the appropriate dll and the corresponding DrDAQApi.h file, and create your MATLAB script in this directory. An example to load the library, and open and close a connection to the USB DrDAQ would be:
Code: Select all
function usbDrDAQ
global data;
loadlibrary('USBDrDAQ.dll',' usbDrDaqApi.h');
if ~libisloaded('USBDrDAQ')
error('library USBDrDAQ.dll or usbDrDaqApi.h not found') %check if the library is loaded
end
data.unithandle = 0;
% Open a connection
[status, data.unithandle] = calllib('USBDrDAQ', 'UsbDrDaqOpenUnit', data.unithandle)
% Call some functions on the DrDAQ
% Close the connection
status = calllib('USBDrDAQ', 'UsbDrDaqCloseUnit', data.unithandle)
I hope this helps.
Hitesh
Software Dev. Engineer
Software Dev. Engineer
Re: Matlab
Hello Hitesh,
I’ll do some experiments and examine your code...
Thanks a lot.
I’ll do some experiments and examine your code...
Thanks a lot.

Re:
markspencer wrote:Hi,
We do have some very simple examples for MatLab, which can be used with the ADC2xx range of products
If you provide your email address to me I will forward the files onto you:
email: tech@picotech.com
Best regards,
Hi,
I have Pico scope 4424.
can you please share some MATLAB samples so that I can easily start development.
-Rakesh
-
- Advanced User
- Posts: 2856
- Joined: Tue May 31, 2011 3:43 pm
- Location: St. Neots, Cambridgeshire
Re: Matlab
Hi Rakesh,
Please see the following topic/post:
http://www.picotech.com/support/topic5549.html#p21035
There is an example there that another Forum user has posted there.
Regards,
Please see the following topic/post:
http://www.picotech.com/support/topic5549.html#p21035
There is an example there that another Forum user has posted there.
Regards,
Hitesh
Software Dev. Engineer
Software Dev. Engineer
Re: Matlab
Hi
I have one (old) PS5204. I am very happy with the device, except when I try to control the device with Matlab. I have got things working, only to see it stop working when I changed version of Matlab and/or version of windows.
It seems to me, like you have better support for some picoscope series, than others. Which scopes would you recommend for Matlab control?
I have one (old) PS5204. I am very happy with the device, except when I try to control the device with Matlab. I have got things working, only to see it stop working when I changed version of Matlab and/or version of windows.
It seems to me, like you have better support for some picoscope series, than others. Which scopes would you recommend for Matlab control?
-
- Advanced User
- Posts: 2856
- Joined: Tue May 31, 2011 3:43 pm
- Location: St. Neots, Cambridgeshire
Re: Matlab
Hi Gustav,
What are the issues that you are getting when the version of MATLAB or Windows changes?
I've been loading our dlls with MATLAB 2011b and later.
We provide Instrument Drivers for use with the Instrument Control Toolbox for the the following ranges:
PicoScope 2000 : 2104/5 and 2204A/2205A
PicoScope 3000 : 3X04A/B, 3X05A/B, 3X06A/B and 3207A/B
PicoScope 5000 : 5X42A/B, 5X43A/B and 5X44A/B
MATLAB 2012b or later is recommended.
Regards,
What are the issues that you are getting when the version of MATLAB or Windows changes?
I've been loading our dlls with MATLAB 2011b and later.
We provide Instrument Drivers for use with the Instrument Control Toolbox for the the following ranges:
PicoScope 2000 : 2104/5 and 2204A/2205A
PicoScope 3000 : 3X04A/B, 3X05A/B, 3X06A/B and 3207A/B
PicoScope 5000 : 5X42A/B, 5X43A/B and 5X44A/B
MATLAB 2012b or later is recommended.
Regards,
Hitesh
Software Dev. Engineer
Software Dev. Engineer
Re: Matlab
On windows 8.1, and Matlab R2012b, I get this message:
"C:\Users\..\matlab\mqair\PS5000.dll"
C:\Users\..\matlab\mqair\PS5000.dll is not a valid Win32
application.
The script used to work on windows 7, Matlab 2011.
"C:\Users\..\matlab\mqair\PS5000.dll"
C:\Users\..\matlab\mqair\PS5000.dll is not a valid Win32
application.
The script used to work on windows 7, Matlab 2011.