Test and Measurement Forum

PS6404B matlab driver

Post your MATLAB discussions here

PS6404B matlab driver

Postby mpdefeo » Wed Sep 04, 2013 8:28 pm

Hello,

I am trying to write matlab drivers for the ps6404B based on the drivers for the 5000 series scopes posed on the mathworks website. I have generated a protofile using the command

Code: Select all
loadlibrary('ps6000.dll','ps6000Api.dll','mfilename',ps6kMFile.m')


For the drivers published on the mathworks website there is also a protofile for the wrapper dll. I am trying to produce a similar using the ps6000wrap.dll included in the SDK, but I don't know which header file to use to generate this file with the 'loadlibrary' command.

I am relatively new to programming, so I apologize if this is a naive question.
mpdefeo
Newbie
 
Posts: 0
Joined: Wed Sep 04, 2013 8:14 pm

Re: PS6404B matlab driver

Postby Hitesh » Thu Sep 05, 2013 1:37 pm

Hi mpdefeo,

An Instrument Control driver for the PicoScope 6000 series is scheduled after the PicoScope 5000 series driver.

Are you modifying the instrument driver or writing your own script?

In the meantime, you can use the following header file:

ps6000Wrap.h
PicoScope 6000 Wrapper header file
(2.58 KiB) Downloaded 97 times


You will need the ps6000Api.h and picoStatus.h files.

Hope this helps.
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: PS6404B matlab driver

Postby mpdefeo » Thu Sep 05, 2013 2:23 pm

I am trying to write my own driver based on the structure of the 5000 series driver posted on the mathworks website. Once I get the basic functionality working I will write my own scripts.

Thank you for the header file. Ill start playing around with it today. What is the expected release date for the 6000 series matlab driver?
mpdefeo
Newbie
 
Posts: 0
Joined: Wed Sep 04, 2013 8:14 pm

Re: PS6404B matlab driver

Postby Hitesh » Thu Sep 05, 2013 3:39 pm

Hi,

We're looking at the next quarter for the release - a beta will be uploaded on to the Mathworks File Exchange site and it will be mentioned in the Test and Measurement Newsletter:

http://www.picotech.com/newsletter/

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to MATLAB

Who is online

Users browsing this forum: No registered users and 0 guests