

Save My Controls Example VI as My Controls Example With MathScript VI.Your front panel should be similar to this:Ĭontrol System Analysis With LabVIEW MathScript RT Module Adjust the parameters on the front panel and observe the system response. Run the VI after putting in nonzero values for Damping Ratio and Natural Frequency on the front panel.The block diagram of your VI should look like this:.Hover over the Loop Condition terminal at the bottom right of the loop, right-click, and select Create Control to put a Stop button on the front panel for the VI.Go to Programming»Structures»While Loop and place a While Loop on the diagram around the existing code.Right-click on the Step Response Graph output of the CD Step Response VI and select Create»Indicator.The polymorphic instance of the CD Step Response VI will automatically change to TF. Wire the Transfer Function Model output of the CD Construct Special TF VI to the State-Space Model input of the CD Step Response VI.The polymorphic instance of the CD Step Response VI will show SS for state space but this will change after the next step.


While the name of the slide is highlighted, change it to Damping Ratio. Navigate to Modern»Numeric»Horizontal Pointer Slide and drag a Horizontal Pointer Slide onto the front panel.
