LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't Real Time Workshop create a model DLL?

When trying to create a model DLL in Real-time Workshop I get the flowing error:
Error using ==> RTW.makertw.make_rtw
Error using ==> tlc_c
Error using ==> tlc_c>InvokeTLC
Error File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 388 Column: 45
Attempt to call a non-function value: SLibGetBlockPath

Installed software : LabView 7.1, Matlab release 14 s1. Real-time Workshop 6.1, and Visual Studio Pro 6.0
0 Kudos
Message 1 of 17
(5,379 Views)
There was an issue with Matlab release 14 and the SIT 2.0 release. This issue was fixed with a SIT 2.0.3 patch that is available at:

http://digital.ni.com/softlib.nsf/websearch/CB915E4A76A7046A86256F0E00521882?opendocument&node=132050_US

Are you using that version?
Message 2 of 17
(5,379 Views)
That helped I was using 2.0.2 but now I get the following error:
Error using ==> RTW.makertw.make_rtw
Error using ==> rtw_c>GetMacro
"SYS_TARGET_FILE = value" macro not defined in template makefile C:\SimulationInterfaceToolkit\ModelInterface\nidll_vc.tmf
0 Kudos
Message 3 of 17
(5,379 Views)
That is strange. I cannot say I have ever seen that error before. Could you post the MDL file that you are trying to build?
0 Kudos
Message 4 of 17
(5,380 Views)
This is a new install and I�m only trying to get things setup properly. The MDL file is a simple MDL created to test out SIT. It was taken from the example in the SIT User Guide. I have installed the following software:

Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 2)
MATLAB Version 7.0.1.24704 (R14) Service Pack 1
MATLAB Version 7.0.1 (R14SP1)
Simulink Version 6.1 (R14SP1)
Real-Time Workshop Version 6.1 (R14SP1)
Microsoft Visual Studio Pro 6.0
LabView 7.1
LabView Real Time 7.1
Simulation Interface Toolkit 2.0.3

I will include the MDL file. Is there something in the setup I might have missed?
Download All
0 Kudos
Message 5 of 17
(5,380 Views)
Could you post your TMF file:

"C:\SimulationInterfaceToolkit\ModelInterface\nidll _vc.tmf"
0 Kudos
Message 6 of 17
(5,380 Views)
This is the TMF file I'm using.
0 Kudos
Message 7 of 17
(5,380 Views)
The TMF file you are using is a very truncated form of the file on my system. Backup your copy and replace it with the attached version and build it again.
0 Kudos
Message 8 of 17
(5,379 Views)
The build completed successfully with your TMF file.
Where did this file come from? Why is your file different than the one on my computer?
Thanks for your help!
0 Kudos
Message 9 of 17
(5,379 Views)
The build completed successfully with your TMF file.
Where did this file come from? Why is your file different than the one on my computer?
Thanks for your help!
Message 10 of 17
(5,379 Views)