Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

SIT and SBRIO 9631

Solved!
Go to solution

Hello everyone,

 

I am trying to export several neural networks model from simulink to the SBRIO 9631. I am using the simulation interface toolkit in order to achieve it and i have started with the sinewave model, downloaded from the http://www.ni.com/white-paper/11654/en.

 

 

After installing the toolkit( Windows Xp 32bits, matlab 2011-a 32bits, labview 2012 and SIT 2012 too), I add the path in matlab to the SIT directory and i start the server in matlab. I can see the message about the port is started and I proceed to build the dll. I configure the solver to discrete steps with a 0.005 length and I choose the nidll_vxworks.tlc for target system. I process to build and i have this error:

 

....
Error: File: C:\SimulationInterfaceToolkit\2012\VxWorks\ModelInterface\tmw\R13\nidll_vxworks.tlc Line: 31 Column: 10
Unable to open %include file nidll_codegen.tlc
Main program:
==> [00] C:\SimulationInterfaceToolkit\2012\VxWorks\ModelInterface\tmw\R13\nidll_vxworks.tlc:<NONE>(31)
 
### Build procedure for model: 'sinewave' aborted due to an error.
 
I open the tlc and I see that efectively, It is calling nidll_codegen.tlc, but it is not in its directory. Efectively, In the 
 
C:\SimulationInterfaceToolkit\2012\VxWorks\ModelInterface\tmw\R13\ destination is not any nidll_codegen.tlc, it is one in C:\SimulationInterfaceToolkit\2012\VxWorks\ModelInterface. I copy this to the R13 and i retry to build. Then I have an error with the nidll_codegen.tlc saying 
that it can not call the NISITGetversion function..
 
At this point I am definetively lost and i dont know why this easy thing is becoming too complicate for me.
 
0 Kudos
Message 1 of 2
(5,792 Views)
Solution
Accepted by topic author fernant

I have installed the matlab 2008b and it runs. It is strange because in the compatibility document the 2011a version appears to be compatible. Anyway, with an older version runs without problems

0 Kudos
Message 2 of 2
(5,780 Views)