Executing multiple model DLL on the same real-time (RT) target simultaneously involves running multiple SIT Servers on different ports on the same RT target. The following example uses model1.vi and model2.vi as sample host VIs that specify the same RT target. This example also assumes you have created the appropriate driver VIs model1_driver.vi and model2_driver.vi. By default, both of these driver VIs start the SIT Server on port 6011. Complete the following steps to have model2_driver.vi start the SIT Server on a different port.
After making these changes, model1.vi starts the SIT Server on port 6011, and model2.vi starts the SIT Server on port 6012. Both SIT Servers run on the same RT target. You can repeat this procedure to run as many SIT Servers simultaneously as you like. However, running more than one SIT Server on the same RT target can reduce the ability of the simulation to run in real time.