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