Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Configuring Simulation Parameters (Control Design and Simulation Module)

LabVIEW 2012 Control Design and Simulation Module Help

Edition Date: June 2012

Part Number: 371894G-01

»View Product Info

The Control & Simulation Loop, shown in the following block diagram, contains the parameters that define the behavior of the simulation.

You can configure these simulation parameters by using the following two methods:

You also can use a combination of these two methods in the same simulation diagram. However, values that you programmatically configure override any equivalent settings that you make in the Configure Simulation Parameters dialog box.

Tip  Use the Output Node to view any errors that occur during the execution of the Control & Simulation Loop. Use the Simulation Parameters function to display the parameters you configure for the simulation.

The Control & Simulation Loop is a version of the Timed Loop. Both loops can iterate deterministically according to a period and priority you define. However, the Control & Simulation Loop also executes the simulation diagram according to the ordinary differential equation (ODE) solver you choose. The inside of the Control & Simulation Loop also has a pale yellow background to distinguish the simulation diagram from the LabVIEW block diagram. Similar to other loops and structures, you can use tunnels to pass data in and out of the Control & Simulation Loop.

Configuring Simulation Parameters Programmatically

The following block diagram shows how you configure a simulation diagram programmatically.

The previous block diagram shows how the gray boxes on the Input Node display any values that you configure in the Configure Simulation Parameters dialog box. Values that you configure programmatically do not have gray boxes.


 

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