Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Executing Multiple Model DLLs on the Same Real-Time Target Simultaneously (Simulation Interface Toolkit)

LabVIEW Simulation Interface Toolkit 4.0 Help
August 2007

NI Part Number:
371504C-01

»View Product Info

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.

  1. Launch LabVIEW and open the host VI model2.vi.
  2. Select Tools»SIT Connection Manager to launch the SIT Connection Manager dialog box.
  3. Click the Model and Host tab.
  4. Enter a port number other than 6011 in the Port text box. For this example, enter 6012.
  5. Click the OK button to generate the block diagram code of the host VI and driver VI again.
  6. Save model2.vi.

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.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit