05-22-2008
04:01 PM
- last edited on
01-24-2026
07:07 PM
by
Content Cleaner
I have LabVIEW 8.5, SIT 4.0 and Matlab R2007b which uses Simulink 7.0. NI has a manual and example for using the Simulation Interface Toolkit at http://digital.ni.com/manuals.nsf/websearch/679117802743CC128625732B00697485 I can map control signals just fine between LV and Simulink but when I try to connect an indicator such as a Waveform Graph or numeric indicator to Port 1 of a Simulink object like a Sum block or Sine Wave (as the example shows) it always says that the mapping is invalid and greys out the box. It seems like there is a bug here because this should just work. Port 1 of a Sum or Sine Wave should be its output as a scalar. Anyone that uses the SIT have any ideas?
I've attached the help file with example that I followed.
Message Edited by tmar89 on 05-22-2008 04:04 PM
05-27-2008 11:40 AM
05-27-2008 03:44 PM
05-27-2008 03:44 PM
05-27-2008 04:28 PM
tmar89,
Invalid mappings typically happen when the selected simulation model uses optimizations such as Block Reduction or Signal Storage Reuse. Try turning these options off in your MDL file to see if it fixes the problem. Note that clicking the "Help" button on the error window that is appearing will open a document that explains this.
Chris M
05-28-2008
11:32 AM
- last edited on
01-24-2026
07:07 PM
by
Content Cleaner
This knowledgebase [broken link removed; article no longer available] explains how to fix the invalid mappings might also come useful for you.
05-28-2008 12:50 PM
09-13-2010 07:38 AM
Try Using Waveform Chart instead of Waveform graph..