LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What are the non-supported Simulink Blocks for the SIT connection manager wizard?

Hello,
 
     I have a model that is in Simulink code and I have been trying to interface it with LabVIEW.  I can build the model in Real-Time Workshop in Matlab and I the target is a NI-RT dll.  The build occurs successfully and there does not seem to be any problems.  I can use the SIT Connection Manager Wizard and map to my variables without a hitch.  The problem starts occurring when I try to run the model on our Real-Time desktop machine.  The model deploys and we can start it without a problem, but nothig happens after that.  We tried running it on the host machine using the same .dll and it only works when Matlab is open and the corresponding model is open in Matlab.  We are using the .dll and the .mdl file, so we should not have to have Matlab open to run the model.  I figured it was an unsupported Simulink block or function that we not supported in SIT and needed the Simulink enviroment to run.  I do not understand why it would need Matlab, but maybe someone else has an idea on it.  I found a list of Simulink blocks that the Simulation Module does not support, but we tried some of the blocks on there (i.e. to and from workspace) and they still seemed to work, so I figured that list does not apply to SIT, or at least some of them do not.  So if anyone has any  idea why the model would need the Simulink enviroment, please let me know.  Also, if you think it could be anything else that is causing the problem. Thank you.
 
Michael
 
LabVIEW 8.5
LabVIEW RT 8.5
SIT 4.0
0 Kudos
Message 1 of 2
(2,828 Views)

Hi Michael,

Even I am using similar setup. SIMULINK model->RTW build->.DLL-> Desktop ETS.

Which SIMULINK blocks are you using?

Also, what version of Matlab, LabVIEW and SIT?

I had ran into some issues while building model using SimPowerSystems blockset. Please go to following link for related discussion.

http://forums.ni.com/ni/board/message?board.id=170&thread.id=300988&view=by_date_ascending&page=1 

I hope this helps.

Thanks,

Gayatri

 

0 Kudos
Message 2 of 2
(2,463 Views)