LabVIEW 2010 SP1 Control Design and Simulation Module Readme

Version 10.0.1


December 2010


The LabVIEW 2010 SP1 Control Design and Simulation Module updates the LabVIEW 2010 Control Design and Simulation Module to address known issues from the previous release.


Known Issues with Version 2010 SP1

You can access the software and documentation known issues list online. Refer to the National Instruments Web site for an up-to-date list of known issues in the LabVIEW 2010 Control Design and Simulation Module.


Bug Fixes in Version 2010 SP1

The following items are the IDs and titles of the issues fixed ebetween the LabVIEW 2010 Control Design and Simulation Module and the LabVIEW 2010 SP1 Control Design and Simulation Module. This is not an exhaustive list of issues fixed in the current version of the Control Design and Simulation Module. If you have a CAR ID, you can search this list to validate the issue has been fixed.


ID Fixed Issue
242420 Direct Transfer Function, State Space, ZPK, and Discrete Filter VIs incorrectly output 0
243872 Running two or more .lvmodel files built from LabVIEW simulation subsystems in parallel on an RT target can cause error -2326
245365 Continuous Kalman Filter causes LabVIEW to crash on Windows 7 and Vista
249385 Simulation VI is broken with no error listed

LabVIEW 2010 Control Design and Simulation Module Readme

Version 10.0.0


June 2010


The LabVIEW 2010 Control Design and Simulation Module provides tools with which you can analyze open-loop model behavior, design closed-loop controllers, simulate online and offline systems, and conduct physical implementations. This file contains the following information about the Control Design and Simulation Module.


System Requirements
   Supported Operating Systems
   Limitations on Mac OS X and Linux
Version 2010 Features and Changes
Installation/Upgrading Instructions
   Windows
   Mac OS X
   Linux
Accessing the Help
Finding Examples
Known Issues
Bug Fixes



System Requirements

The Control Design and Simulation Module has the following requirements:


  • LabVIEW 2010 Full or Professional Development System
  • At least 350 MB additional disk space for Control Design and Simulation Module support
  • (Optional) LabVIEW MathScript RT Module. In LabVIEW 2009, LabVIEW MathScript became the LabVIEW MathScript RT Module. You cannot run VIs from previous versions of LabVIEW that contain MathScript Nodes until you install and activate the MathScript RT Module or remove the MathScript Nodes from the VIs. If you have already purchased the MathScript RT Module, select Help»Activate LabVIEW Components to activate the product.
  • (Optional) LabVIEW SignalExpress. If you plan to install the LabVIEW Control Design Assistant, you first must install LabVIEW SignalExpress.

Supported Operating Systems

You can run the LabVIEW Control Design and Simulation Module installer on the following operating systems:


  • Windows 7 (32-bit and 64-bit)
  • Windows Vista (32-bit and 64-bit)
  • Windows XP (32-bit)
  • Windows Server 2003 R2 (32-bit)
  • Windows Server 2008 R2 (64-bit)
  • Mac OS X 10.5.0 or later
  • Red Hat Enterprise Linux WS 4 or later
  • openSUSE 11.0 or later

The LabVIEW Control Design and Simulation Module installer does not support Windows 2000/NT/Me/98/95 or the Windows Server non-R2 editions.


Limitations on Mac OS X and Linux

The LabVIEW Control Design and Simulation Module on Mac OS X and Linux does not support the following features:


  • LabVIEW Control Design Assistant
  • Real-Time support

Version 2010 Features and Changes

The LabVIEW 2010 Control Design and Simulation Module incorporates the following new features and changes.


Enabled and Triggered Subsystems

When you use subsystems on a simulation or block diagram, you can configure those subsystems to execute only when enabled or triggered. An enabled subsystem is one that executes when a Boolean input to the subsystem receives a TRUE value. A triggered subsystem is one that executes when an input signal to the subsystem crosses 0 or an offset from 0 that you specify. The same subsystem can be both enabled and triggered, and you can specify the behavior of individual outputs of the subsystem when that subsystem does not execute.


To configure enabling or triggering for a subsystem, double-click the subsystem to display the Subsystem Configuration dialog box. Select Execution Control from the Parameters list and use the options under Parameter Information to configure the basic execution behavior of the subsystem. Select individual outputs from the Parameters list to configure the behavior of those outputs when the subsystem does not execute.


Note: The Simulation Model Converter also supports the conversion of your .mdl files that contain enabled and triggered subsystems.


Performance Enhancements

In previous versions of the LabVIEW Control Design and Simulation Module, some users experienced slow load times for simulation diagrams. The LabVIEW 2010 Control Design and Simulation Module improve load times for simulation diagrams.


Keyboard Shortcuts for Subsystems

The following table lists new keyboard shortcuts you can use to display the front panel and block diagram of a simulation subsystem.


Note: The <Ctrl> key in these shortcuts corresponds to the (Mac OS X) <Command> key.


Keyboard Shortcut Description
Ctrl-double-click Displays the block diagram of the subsystem.
Shift-double-click Displays the front panel of the subsystem.

DAE Solvers

You can use the Implicit Systems functions to solve differential algebraic equations (DAEs) on a simulation diagram or within a Control & Simulation Loop. These functions enable you to use DAEs in building a simulation. Previous versions of the Control Design and Simulation module supported only ordinary differential equation (ODE) solvers. Navigate to Control Design & Simulation»Simulation»Implicit Systems on the Functions palette to access the following new functions:


  • Algebraic Variable
  • Implicit State
  • Implicit Variable

Note: You must select the BDF solver in the Configure Simulation Parameters dialog box to use these functions.


Save for Previous

In previous versions of the LabVIEW Control Design and Simulation Module, you could not save a VI that contained a Control & Simulation Loop for a previous version of LabVIEW. In the LabVIEW 2010 Control Design and Simulation Module, you can save VIs that contain a Control & Simulation Loop for LabVIEW 2009. You cannot save these VIs for LabVIEW versions prior to 2009.


Simulation Model Converter Enhancements

The Simulation Model Converter converts your .mdl files that contain enabled and triggered subsystems and configures the resulting subsystems in LabVIEW. Select Tools»Control Design and Simulation»Simulation Model Converter to launch the Simulation Model Converter dialog box and convert your .mdl files.


Support for Stateflow® Conversion with the Simulation Model Converter

In previous versions of the LabVIEW Control Design and Simulation Module, the Simulation Model Converter did not support the conversion of statecharts developed with The MathWorks, Inc. Stateflow® application software. In the LabVIEW 2010 Control Design and Simulation Module, the Simulation Model Converter converts statecharts developed with The MathWorks, Inc. Stateflow® application software into statecharts usable within the LabVIEW Statechart Module.


Note: To convert statecharts developed with The MathWorks, Inc. Stateflow® application software to statecharts usable within the LabVIEW Statechart Module, you must install the LabVIEW Statechart Module. Visit the National Instruments Web site for more information about the LabVIEW Statechart Module.


Installation/Upgrading Instructions

(Windows) You can install all of your LabVIEW products—including the Control Design and Simulation Module—using the LabVIEW 2010 Platform DVDs. You can find installation instructions for the Control Design and Simulation Module along with activation instructions in the following locations:


  • LabVIEW Release Notes, which are available in your LabVIEW software kit.
  • LabVIEW 2010 Platform DVDs Readme, which is available on the top-level of LabVIEW Platform DVD 1.

To request additional LabVIEW 2010 Platform DVDs, refer to the National Instruments Web site.


Note: If you purchased this product with an NI Software Suite or NI Product Bundle, use the installation media that shipped with your purchase to install this product.


(Mac OS X) Complete the following steps to install the LabVIEW 2010 Control Design and Simulation Module for Mac OS X from the LabVIEW Control Design and Simulation Module installation CD.


  1. Insert the LabVIEW 2010 Control Design and Simulation Module installation CD and open LabVIEW2010CDSim.mpkg located under the LabVIEW_2010\Mac OS X directory.
  2. Select Continue to run a program to determine if the Control Design and Simulation Module can be installed on your system.
  3. Follow the instructions that appear on the screen and continue to the Select Destination dialog box.
  4. In the Select Destination dialog box, click the Choose button and select the version of LabVIEW to which you want to install the Control Design and Simulation Module.

Note: You must click the Choose button for a proper installation. If you do not select a location where LabVIEW is installed or you select a non-compatible version of LabVIEW, the installation will not complete.


  1. After you select the destination directory, click the Continue button to complete the installation.

(Linux) Complete the following steps to install the LabVIEW 2010 Control Design and Simulation Module for Linux from the LabVIEW Control Design and Simulation Module installation CD.


  1. Log into the system as root.
  2. Insert the LabVIEW 2010 Control Design and Simulation Module installation CD. Use mount /mnt/cdrom to mount the CD. On some systems, the CD mounts automatically.
  3. To change the current directory to the mounted CD, enter the following command:

    cd /mnt/cdrom
  4. To run the installation script, enter the following command:

    sh ./INSTALL

    If you encounter the following message: "bad interpreter: Permission denied", the CD may not have mounted with executable permissions. To work around this, enter the following command:

    /bin/sh ./INSTALL

Accessing the Help

The LabVIEW Control Design User Manual contains conceptual information about using the control design functionality of the Control Design and Simulation Module. Open this manual by selecting Start»All Programs»National Instruments»LabVIEW 2010»LabVIEW Manuals and opening CD_User_Manual.pdf or by navigating to the labview\manuals directory and opening CD_User_Manual.pdf.


The LabVIEW Control Design and Simulation Module Help contains conceptual, how-to, and reference information about the Control Design and Simulation Module.


(Windows) Complete the following steps to access this help file.


  1. Launch LabVIEW.
  2. Select Help»LabVIEW Help to launch the LabVIEW Help.
  3. Click the Contents tab.
  4. On the Contents tab, navigate to the Control Design and Simulation Module book.

(Mac OS X, Linux) Complete the following steps to access this help file.


  1. Launch LabVIEW.
  2. Select Help»Control Design and Simulation Module to launch the Control Design and Simulation Module Help.

Refer to the LabVIEW Control Design Toolkit Algorithm References for information about algorithms implemented in the LabVIEW Control Design and Simulation Module and their corresponding references. Access the LabVIEW Control Design Toolkit Algorithm References by navigating to the labview\manuals directory and opening CDreference.pdf.


Finding Examples

Refer to the labview\examples\Control and Simulation directory for example VIs that demonstrate common tasks using the Control Design and Simulation Module. You also can access these VIs by selecting Help»Find Examples from the pull-down menu and selecting Toolkits and Modules»Control Design and Simulation in the NI Example Finder window. You can modify an example VI to fit an application, or you can copy and paste from one or more examples into a VI that you create.


Known Issues with Version 2010

You can access the software and documentation known issues list online. Refer to the National Instruments Web site for an up-to-date list of known issues in the LabVIEW 2010 Control Design and Simulation Module.


Bug Fixes

The following items are the IDs and titles of a subset of issues fixed between the LabVIEW 2009 Control Design and Simulation Module and the LabVIEW 2010 Control Design and Simulation Module. This is not an exhaustive list of issues fixed in the current version of the Control Design and Simulation Module. If you have a CAR ID, you can search this list to validate the issue has been fixed.


ID Fixed Issue
36748 Simulation Model Converter: Incorrect implementation of Selector block (Legacy ID: 3Z5925DL)
48302 Broken Save and Load buttons in configuration dialog boxes (Legacy ID: 3QPBCTDL)
123506 Cannot linearize subsystem with empty array default values
131426 Upgrading a Simulation VI may result in a broken VI
133330 Seed terminal not available for Correlated Random Gaussian Noise VI
143597 Simulation Model Converter: Converter produces no VI and gives internal errors if an initialization script has errors
151578 BDF solver gets wrong answer when integrating the derivative of a step function
163739 Documentation: Control Design MathScript functions not listed by "help classes"
167978 MathScript: eig function does not support Control Design data-types
168606 Documentation: Help for CD Continuous Kalman Filter has wrong equations
171665 Documentation: Context help missing for Estimation Function controls
172353 State-space to transfer function conversion loses zeros
172859 Simulation Model Converter crashes when converting models with a The MathWorks, Inc. MATLAB Fcn block on Mac OS X or Linux
173772 Single-stepping subsystems do not execute in LabVIEW built applications.
174446 Changing connector pane for subsystem may cause subsystem to fail to compile
174532 Documentation: CD Continuous Algebraic Riccati Equations VI help is incorrect
174799 Documentation: Control Design Assistant examples do not have links to help
175551 Subsystems fail to autosave correctly
175715 Vector Transport Delay causes runtime error on ARM
175716 Generated C code for Control & Simulation loop fails to compile if "Generate Debug Info" is TRUE
175721 Vector Discrete Unit Delay causes runtime error on ARM
175932 Control Design Assistant appears twice in Activation Wizard
175933 Documentation: Error in the online help of the CD Continuous Lyapunov Equation VI (Legacy ID: 4ACCJK7G)
176322 Estimation examples do not run on Mac or Linux without changes
177810 Simulation diagram remains broken after a feedback cycle is undone
177828 Error on Simulation diagram with calculation cycles, even if memory functions are used
178167 Simulation Model Converter: Cannot convert Sine and Cosine for older models
178362 Right-clicking a subsystem triggers an unnecessary recompile
180442 Nested Case Structures in simulations with local and global variables might fail to compile
180486 SimDiagSupport.cpp crash when placing Diagram Disable structure around indicators in subsystem
182237 Documentation: Simulation Model Converter dialog box missing documentation for some items
182510 In some cases, VI does not break wire on simulation diagram
184542 Documentation: EMI_GetCurrentVersion function not documented
188235 Documentation: Documentation does not match the input of CD Draw Model Equation VI
191403 Vector instances of Buffer XY Graphs have problems with long histories
191430 Error 1357 when running Simulation Model Converter twice without closing
192535 Choosing "Config page only" for EMI Parameters still allows parameters to come from terminals
193893 Documentation: Finalization step for SubVI node setup is treated as a minor step
195465 Cannot synchronize Control & Simulation Loop to timing source on ARM
198784 Control & Simulation Loop priority cannot be 0
198882 Converter: Control & Simulation Loop created from Simulation Model Converter returns error -820 when used with hardware timing
205013 Transfer Function returns error -2381 for Model Numerator = [0] and Denominator = [1]
214160 Right-clicking the Input Node of a Control & Simulation Loop and selecting "Remove Input" causes error
214904 Documentation: MathScript: Help for Control Design classes not available
216739 Subsystem does not appear broken when opened with a missing a subVI
219640 MathScript: Bode (num, den) does not work
221138 MIMO State-Space Function does not Recover from NaN input even after reinitializing execution
224821 Documentation: Document limit on Control & Simulation Loop "Priority Range" (1 to 65535)
232863 Example of iopzgraph does not generate plot correctly

Important Information

Copyright


© 2010 National Instruments Corporation. All rights reserved.


Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written consent of National Instruments Corporation.


National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.


Trademarks


LabVIEW, National Instruments, NI, ni.com, the National Instruments corporate logo, and the Eagle logo are trademarks of National Instruments Corporation. Refer to the Trademark Information at ni.com/trademarks for other National Instruments trademarks.


Simulink® is the registered trademark of The MathWorks, Inc.


Other product and company names mentioned herein are trademarks or trade names of their respective companies.


Patents


For patents covering the National Instruments products/technology, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or the National Instruments Patent Notice at ni.com/patents.