Jump to content

Simulation Module v2.0


Recommended Posts

Does anyone have any experience using the Simulation Translator (found in Simulation Module v2.0) to convert MatLab Simulink models to LabView? I am trying to convert the PHYSBE model which can be found at...

Physbe Model

post-5506-1152136435.gif?width=400

Besides creating messy vi's with many broken wires, it created two sub vi's called

"CGD vectorSelectorNode.vi" which are password protected. They are the two white vi's in the diagram above. I cannot find anything helpful in the NI documentation. I would appreciate any insight. Thank you. btw, I am using LV 8.0.

Richard Tallman

Associate Professor

The Ohio State University

Link to comment

Hi Richard,

I am one of the developers of the Simulation Translator, so hopefully I can offer some insight. :)

Have you installed the patch for the translator for the Simulation Module 2.0? It can be found here: http://digital.ni.com/softlib.nsf/websearc...62571250070D3EE

It should help with some of the broken wires, in particular. The subVIs just perform the correct selection operation, given the input indicies. They should not be password protected and I've filed a bug report to that effect.

HTH,

-Reed

Link to comment

Richard,

I took a look at that model and the problem seems to be that the summation node with a single vector input performs a vector summation. The LabVIEW Simulation summation node does not work like that, yet. To fix those broken wires in that VI, I think you can replace the two summation nodes that are fed directly by the CGD vectorSelectorNode subVIs with the Add Array Elements node from the Numeric palette. There also appears to be a bug with the selector translation that is not creating a vector of indicies to pass into the 'i' term of the CGD vectorSelectorNode subVI. You'll need to create that to get the correct output. I've filed bug reports on all these issues. Thanks for bringing them to my attention.

-Reed

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.