Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Matlab-Malibu Interface
Goto page 1, 2  Next
 
Post new topic   Reply to topic    II Support Forum Index -> MatLab/SimuLink Development Corner
View previous topic :: View next topic  
Author Message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Wed Mar 24, 2010 12:30 pm    Post subject: Matlab-Malibu Interface Reply with quote

See attached proposal for new Matlab/Malibu interface. Feel free to comment as part of this thread.
Back to top
View user's profile Send private message Visit poster's website
John Owen (EnTegra Ltd)
Distributor


Joined: 21 Mar 2006
Posts: 34
Location: England

PostPosted: Thu Mar 25, 2010 7:04 am    Post subject: Reply with quote

I asked one of our algorithm engineers and he said "The key thing for me is "would this have allowed me to develop the radar application without writing any C++ code?". I can't really be sure of the answer to this without more details on the proposed interface."
Back to top
View user's profile Send private message Visit poster's website
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Thu Mar 25, 2010 7:51 am    Post subject: Reply with quote

A primary design goal is that no C++ coding will be required with the proposed interface. The user will be required to call DLL functions within Matlab, but examples will be provided to illustrate the common techniques.
Back to top
View user's profile Send private message Visit poster's website
cstrunk



Joined: 25 Mar 2010
Posts: 5
Location: Germany

PostPosted: Fri Mar 26, 2010 5:55 am    Post subject: Reply with quote

Sounds good to me. Ability to use X3 / X5 / X6 boards without need for C++ programming would be a good benefit.

However - if you allow me to add a wish list - the same would also be of interest for non-Matlab users, like e. g. LabView.

So I am wondering if you - instead of or in addition to the shared lib for Matlab only - could create a more general driver that talks to the server application.

IMHO the IVI-COM driver standard http://www.ivifoundation.org/specifications could be a better alternative for the Matlab shared lib. IVI-COM would allow to use just one driver in many development packages such as LabView, LabWindows, Matlab, Visual Basic, C++, C#, etc. and even in scripting languages such as Tcl/Tk.

Using tools like the "Nimbus Driver Studio" from http://www.pacificmindworks.com could make IVI-COM driver development easy for you, so it would not nessecarily be much more effort than creating a Matlab shared lib.
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Fri Mar 26, 2010 7:05 am    Post subject: Reply with quote

The problem with IVI drivers is that they seem to be channel-oriented. The channel orientation is problematic for the COP user, since they often wish to transfer heterogeneous data between the Simulink and and the FPGA. My perception is that the IVI drivers are not conducive to this. Also, IVI's appear to favor implementation via COM which is really not usable under Linux.
Back to top
View user's profile Send private message Visit poster's website
cstrunk



Joined: 25 Mar 2010
Posts: 5
Location: Germany

PostPosted: Mon Mar 29, 2010 7:01 am    Post subject: Reply with quote

I would guess there's enough freedom in a 'Custom Specific Instrument Driver' to also provide some raw data channels for COP in/out data.

Yes, IVI-COM is bound to Windows. IVI-C is possible on Linux but maybe not the optimum choice there.

So there may be enough reasons for both: Matlab Shared Lib plus IVI-COM drivers.
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Mon Mar 29, 2010 7:07 am    Post subject: Reply with quote

Currently, my plan is to get the basic DLL and Server functional with Matlab as originally described. I expect that we'll learn some useful tricks and pitfalls in the process and that some of the code will be portable to a future IVI implementation.
Back to top
View user's profile Send private message Visit poster's website
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Wed Mar 31, 2010 3:50 am    Post subject: Reply with quote

Jim-

Can we call this dll under Labview or CVI?

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Wed Mar 31, 2010 5:24 am    Post subject: Reply with quote

Yes, since it is a DLL interface, it can be called from any environment capable of loading and calling DLL functions.
Back to top
View user's profile Send private message Visit poster's website
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Thu Jun 24, 2010 1:11 am    Post subject: Use of the dll in LabIEW Reply with quote

Jim,

Could you please update the status of this dll ?
We have a customer interested in a X6-RX (with graychip's DDC) but with no knowledge of C/C++ and he would like to develop in LabIEW (good level).
Will there be the functions needed to configure the DDC operations in this dll?
thank you,

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Thu Jun 24, 2010 5:56 am    Post subject: Reply with quote

We are still integrating and testing this DLL into Matlab. We have not used it at all under Labview. The initial release is scheduled for July 1, 2010.

All board configuration is accomplished via the server applet, which logically lies between the DLL and the board. The DLL allows specification of configuration INI files which tailor the operation of the board. When the DDC becomes available in September for the X6-RX, a means of specifying the configuration of the DDC will be included.
Back to top
View user's profile Send private message Visit poster's website
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Fri Aug 13, 2010 4:33 am    Post subject: Reply with quote

Hi Jim,

Could you tell me if dll interface is available?

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Fri Aug 13, 2010 6:14 am    Post subject: Reply with quote

Unfortunately, no. Too many distractions.
Back to top
View user's profile Send private message Visit poster's website
rjohnson



Joined: 22 Sep 2010
Posts: 1

PostPosted: Wed Sep 22, 2010 6:38 pm    Post subject: Reply with quote

What is the current estimate for the release of the Malibu DLL interface? We have a need for integration with Labview.
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 2254
Location: So. Cal. USA

PostPosted: Thu Sep 23, 2010 10:05 am    Post subject: Reply with quote

Work on the DLL has been delayed several months now. I cannot provide a firm release estimate, but the work is still planned.

As currently envisioned, the Matlab DLL is not intended to support real-time data flow. Our intention is to support FPGA-based coprocessing using custom firmware developed using Matlab/Simulink and to transfer to/from the FPGA via PCIe. This is working internally using C++ executables, and we intend to extract that communications functionality into a DLL to eliminate the need for the EXE. While the same DLL would be usable under LabView, the focus of the DLL on transport without I/O configuration probably means it won't meet your needs.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> MatLab/SimuLink Development Corner (GMT - 8 Hours)
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional