06-23-2008 01:22 PM
06-24-2008 11:23 AM
06-27-2008 09:23 AM
Hi arsa,
I am looking in to this issue. I will post my results shortly.
Kevin S.
Applications Engineer
National Instruments
06-27-2008 05:02 PM
Hi arsa,
First off, what's the version of SIT that you have? What's the version of your software as well?
Do you have mappings that go to and from a subsystem that you're trying to map through the SIT Connection Manager? (From what I understand, SIT version 4.0 and previous cannot map to and from subsystems. However, your subsystem would appear in the model tree when you modify mappings. See this help file.)
For more information on models containing linked or masked subsystems, see the last 2 paragraphs in this help file.
I hope this helps,
Kevin S.
Applications Engineer
National Instruments
07-01-2008 11:00 AM
Thanks for your answer.
For the SIT version where can I see the version? but I guess is the latest.
Matlab is 7.5.0.342 (R2007b)
I do have subsystems, but they do contain inputs and output ports and all the parameters I want to connect are in the higher layer, where I insert the SIT block.
I'm working with models that uses simulink, stateflow and RTW for automotive embedded applications. In the help file, it mention the simulink model needs to be converted into a dll, does that means I'm not able to just plug and play the simulink model and Labview running at the same time without converting it into a dll for this type of applications?
It may be important to mention that for this type of application we declare simulink.signals for variables and simulink.parameter for constants.
What is still odd to me is why I can see or not see the parameters, wheather I click on an indicator or control.....
07-07-2008 04:32 PM - edited 07-07-2008 04:33 PM
Hi arsa,
To find your Simulation Interface Toolkit (SIT) version, go to the Measurement and Automation Explorer. Under the tree to the left, select My Computer » Software » LabVIEW x.x » Simulation Interface Toolkit. When you select the Simulation Interface Toolkit, you can see the version number in the center screen.
There are two ways to use the LabVIEW Simulation Interface Toolkit. First, if you have Simulink®, you can access the model you have open with the Simulation Interface Toolkit without creating a DLL. (See the referenced article below.) Second, you can create a DLL out of your Simulink® model and then use that DLL on a different computer that has the Simulation Interface Toolkit. Both methods allow you to access the model in LabVIEW.
This article talks about some of the specifics in using the SIT Connection Manager. Did you follow the same process yourself?
In order for me to reproduce what you are seeing, is there a way for you to post your code and the steps you use to reproduce the behavior?
I hope this helps,
Kevin S.
Applications Engineer
National Instruments
Note: Simulink® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.
07-08-2008 11:50 AM - edited 07-08-2008 11:51 AM
Kevin.
The SIT version I'm using is 4.0.0.
Find attached a zip file with a simple example. The images are what I'm seeing when try the mapping.
Regards.
Arlette
07-15-2008 06:39 PM
You can create mappings to parameters and signals of masked subsystems. However, if a subsystem is linked, or linked and masked, any mappings to parameters and signals of that subsystem appear invalid. Refer to the Simulink documentation for information about linked and masked subsystems.
If a model contains a subsystem that does not have any parameters or signals, that subsystem appears in the model tree when you create mappings. However, you cannot create mappings to/from that subsystem.
<script type="text/javascript"> if (typeof(Print_Link)=="function") { Print_Link(); } </script>