Matlab

Post general discussions on using our drivers to write your own software here. Language specific discussion should be posted in the other forums.

Matlab

Postby Richard » Wed Jun 11, 2003 10:28 am

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.
Richard
 

Postby markspencer » Thu Jun 12, 2003 8:24 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,
Regards,

Mark Spencer
User avatar
markspencer
Site Admin
Site Admin
 
Posts: 600
Joined: Wed May 07, 2003 10:45 am

Postby Saulius » Thu Jan 18, 2007 3:30 pm

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
Saulius
 

Re: Matlab

Postby pico » Thu Jul 29, 2010 9:19 am

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!
pico
Newbie
 
Posts: 0
Joined: Tue Jul 13, 2010 10:40 am

Re: Matlab

Postby ziko » Mon Aug 02, 2010 11:30 am

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
Ziko

Technical Specialist
ziko
Site Admin
Site Admin
 
Posts: 1580
Joined: Fri Dec 01, 2006 11:03 am
Location: St Neots

Re: Matlab

Postby fernandoluiz » Wed Jun 15, 2011 7:36 pm

do you have matlab examples for pico3206?
fernandoluiz
Newbie
 
Posts: 0
Joined: Wed Dec 15, 2010 7:13 pm

Re: Matlab

Postby Chris » Thu Jun 16, 2011 8:52 am

I'm afraid we don't have any matlab examples for this scope.
Chris
Site Admin
Site Admin
 
Posts: 169
Joined: Tue Aug 17, 2010 10:00 am
Location: St. Neots

Re: Matlab

Postby M.Yasser » Sun Oct 16, 2011 3:29 pm

Hello,
Do you have examples of programs in Matlab for USB DrDAQ or original DrDAQ ?
Regards.
M.Yasser
Newbie
 
Posts: 0
Joined: Sat Oct 15, 2011 8:01 pm

Re: Matlab

Postby Hitesh » Mon Oct 17, 2011 9:42 am

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:

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)



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.
Hitesh

Technical Specialist
Hitesh
Site Admin
Site Admin
 
Posts: 113
Joined: Tue May 31, 2011 4:43 pm
Location: St. Neots, Cambridgeshire

Re: Matlab

Postby M.Yasser » Fri Oct 21, 2011 4:27 pm

Hello Hitesh,
I’ll do some experiments and examine your code...
Thanks a lot. :)
M.Yasser
Newbie
 
Posts: 0
Joined: Sat Oct 15, 2011 8:01 pm


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests