LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SIT: Not valid model dll

Hi,

I'm trying to set in SIT Connection Manager the dll of the model. It can set the dll from sinewave example. But if I  compiled sinewave.mdl and get my sinewave.dll when I select it in SIT Connection Manager I get this error:
http://www.postimage.org/image.php?v=Pq3qDfS
And next
http://www.postimage.org/image.php?v=aV8zHvA

I have tried with several compilers and matlab c compiler, Visual C++ 8 compiler and I have the same problem.

I have tried too with Visual C++ compiler but I get this error:

Error building Real-Time Workshop target for block diagram 'sinewave'. MATLAB error message:
Error using ==> RTW.genMakefileAndBuild
Error(s) encountered while building model "sinewave"

I use SIT 3.0.23, LabView 8.2, Matlab 7.3, Simulink 6.5.

Thanks in advance




0 Kudos
Message 1 of 14
(5,150 Views)
Didn't you understand me?


0 Kudos
Message 2 of 14
(5,124 Views)

Hi,

have you followed the right steps to build your dll model?

Take a look at this document, maybe can help you:

http://zone.ni.com/reference/en-XX/help/371504C-01/lvsimtkhowtoconcepts/simulink-sit_h_convert_model...

Also this one could be usefull:

http://digital.ni.com/public.nsf/allkb/F7FED78375E02768862570E0003BE537?OpenDocument

Clara

0 Kudos
Message 3 of 14
(5,075 Views)

Hi,

have you followed the right steps to build your dll model?

Take a look at this document, maybe can help you:

http://zone.ni.com/reference/en-XX/help/371504C-01/lvsimtkhowtoconcepts/simulink-sit_h_convert_model...

Also this one could be usefull:

http://digital.ni.com/public.nsf/allkb/F7FED78375E02768862570E0003BE537?OpenDocument

Clara

0 Kudos
Message 4 of 14
(5,074 Views)
Yes I did. Finally I try to build the dll in another computer with matlab, and It run sucessfully. But I don't now what is the problem in the first pc yet...
0 Kudos
Message 5 of 14
(5,058 Views)
Did you ever figure out what the problem was? I am experiencing the exact same thing right now...

Thanks,
Chris

0 Kudos
Message 6 of 14
(4,945 Views)
No, sorry, try to reinstall matlab
0 Kudos
Message 7 of 14
(4,937 Views)
Anybody figure out the specific problem that is producing this error. I am trying to compile a model and I get the following error everytime: "Error using ==> genMakefileAndBuild at 1070"
0 Kudos
Message 8 of 14
(4,768 Views)

Hi,

 

ths post provide other solution to the same problem tested by other users...

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=247654&requireLogin=False

 

maybe could be usefull.

 

Bye

 

Clara

0 Kudos
Message 9 of 14
(4,761 Views)

It has been awhile since I dealt with this, but my problem had to do with incompatability between my MATLAB and SIT versions. The version of MATLAB that I was using was not yet supported by SIT. The new version of SIT fixed this issue.

 

The incompatability was either not documented or overlooked by me, I had to call tech support to find this out.

 

Hope this helps!

0 Kudos
Message 10 of 14
(4,760 Views)