LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simulink SIT simulation time synchronisation

Hi,
 
How can I run a simulink simulation in real - time?
 
My LV SIT interface is synchroniously running with the RT Simulink simulation time? But how do I make Simulink simulation time run synchronously with the time. 
 
I used RT_Blockset, it works fine in simulink but I cannot compile it into a DLL wich interfaces with SIT.
 
The moment I add RT_BLOCK the compilation gives an error.
 
Wouter
0 Kudos
Message 1 of 2
(3,160 Views)
On Apr 23, 10:10 am, wouterni <x...@no.email> wrote:
> Hi,
> &nbsp;
> How can I run a simulink simulation in real - time?
> &nbsp;
> My&nbsp;LV SIT interface is synchroniously running with the RT Simulink simulation time? But how do I make Simulink simulation time run synchronously with the time.&nbsp;
> &nbsp;
> I used RT_Blockset, it works fine in simulink but I cannot compile it into a DLL wich interfaces with SIT.
> &nbsp;
> The moment I add RT_BLOCK the compilation gives an error.
> &nbsp;
> Wouter

According to how I interpret Mathworks specifications for real time
operation of Simulink you need both Real Time Workshop and Real Time
Windows Target. When you compile your Simulink program you compile it
to run in a real time target. I suspect your problem is the
Simulation Interface Toolkit will not work with a real time target.

Howard
0 Kudos
Message 2 of 2
(3,137 Views)