06-28-2006 08:35 AM
06-28-2006 09:48 AM
You don't need a "Source" block. Controls on your LabVIEW front panel link to parameters in Simulink blocks. For instance, if you had a Constant block in your Simulink diagram, you could map the "Value" parameter of that Constant block to a Numeric control on your LabVIEW front panel. If it's an array constant block, you can map its Value to an array control on your LabVIEW front panel. If you have a Signal Generator block in your model, you can map its Amplitude, Frequency, Phase, etc. to controls on your LabVIEW front panel...all of these parameters should be visible in the parameter tree in the SIT Connection Manager (Tools > SIT Connection Manager).
Also, since you're using NI_Sink blocks, it sounds like you have version 2.0.x of the toolkit. You should consider upgrading to the Simulation Interface Toolkit 3.0...with this new version of the toolkit, you no longer need NI_Sink blocks...you can map indicators on your LabVIEW front panel to the output of any block in your Simulink model.
Good luck,
-D
06-29-2006 06:10 AM
06-29-2006 09:57 AM
I just checked the SIT 2.0.3 readme, and it only supports MATLAB versions up to 7.0...that could explain why you're seeing this error.
I'm not sure if upgrading from SIT 2.0.3 to 3.0 is a paid upgrade...you can check with your local salesperson on that.
Good luck,
-D
06-30-2006 04:23 AM
Thanks again for the information. I have already talked to a local salesperson and he will send a upgrade CD to me. And it will be for free
Bye.
07-05-2006 09:56 AM
Hello!
Now I got the CD with SIT Version 3.0 and I also downloaded an upgrade for Labview 7.1 to update it to Version 7.1.1. After installing Version 7.1.1 it is said in the readme file that you should do a mass compilation in the Labview file. but something went wrong with this mass compilation, because I got some error messages.....
Has anyone experiences with updating the Labview Version 7.1?
Perez
07-05-2006 10:40 AM
07-06-2006 05:13 AM
Thanks for the information!
But after installing the upgrade I have got problems to build a Model DLL of a Simulink Model in the Real Time Workshop from Matlab/Simulink with the System Target File "nidll.tlc".
I always get the following error message in the Matlab command window:
### Creating C:\SimulationInterfaceToolkit\ModelInterface\\tmw\lib\rtwlib_sit.lib
del C:\SimulationInterfaceToolkit\ModelInterface\\tmw\lib\rtwlib_sit.txt
C:\SimulationInterfaceToolkit\ModelInterface\tmw\lib\rtwlib_sit.txt konnte nicht gefunden werden
NMAKE : fatal error U1077: 'del' : Rueckgabe-Code '0x1'
Stop.
C:\Programme\MATLAB71\work\RegelstreckeDLL_nidll_rtw>echo The make command returned an error of 2
The make command returned an error of 2
07-06-2006 10:31 AM
07-07-2006 05:30 AM