LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the "Simulation Model Converter" create a 1-D array when a subsystem is converted

Hi,

 

I want to convert a complex Simulink Simulation with many subsystems into LabVIEW VI. One Problem I have is the one in the subject. I attached a simple example Simulink file and the result of the "Simulation Model Converter" where my problem occurs. 

 

In this example I have two equal block diagrams, with the differnce, that the one below uses a subsystem (that only contains a gain). But why is the data inside the sub system a 1D array? Is that necessary? If I change the array by hand into a normal constant, the simulation still works. Is there a way to prevent this wrong conversion.

 

Thank you

Download All
0 Kudos
Message 1 of 3
(2,818 Views)

Hello Talvi,

I am guessing that you do not have Simulink installed on the computer where you are doing the conversion.  If you do the conversion on a computer where Simulink is installed, you will get better results.  This is mentioned in the help topic: Using the Simulation Model Converter.  If you are still having trouble, can you please let us know which versions of the software involved you are using?

 

Regards,

Angela M
Product Support Engineer

Message Edited by Angela M on 11-19-2008 04:36 PM
0 Kudos
Message 2 of 3
(2,786 Views)

Hi,

 

no, there ist Simulink installed. I use different Computer one with LabVIEW 8.5 and Simulink R 2007a and an other PC with LabVIEW 8.2 and Simulink R2006b. I found out that, if I have a new build Simulink simulation and do the conversion bevor I run the sim the first time, it is converted correct. But if I run the Simulink sim first and then convert it into LabVIEW, than the converter creates the 1D array instead of a normal constant.

 

Kind regards,

Peter T

0 Kudos
Message 3 of 3
(2,753 Views)