Creating Models With the NI LabVIEW Control Design and Simulation Module for Use in NI VeriStand

Publish Date: Nov 15, 2012 | 2 Ratings | 3.00 out of 5 | Print | Submit your review

Overview

This document describes how to build a simulation model using the LabVIEW Control Design and Simulation Module in NI VeriStand software. In addition to building traditional LabVIEW models, you can use LabVIEW Control Design and Simulation to specify an ordinary differential equation (ODE) solver and a model loop rate.

Table of Contents

Process Summary

 

Note: Before you build your LabVIEW model, you need to ensure that the connector pane of your VI is properly configured. When you import the model into NI VeriStand, terminals specified as required inputs are model inports, and recommended and optional inputs are specified as parameters. Outputs are always specified as outports.

  1. To build a simulation model using the LabVIEW Control Design and Simulation Module, select Tools»NI VeriStand»Generate NI VeriStand Model from VI.
  2. When the dialog box appears, select the desired destination path for your LabVIEW model.
  3. Click the Next button. In this dialog box, choose an ODE solver. You can also specify a model loop rate by choosing the step period.
  4. Click the Build button, and LabVIEW builds the model file. 
  5. Once the build process is complete, click Finish. Your LabVIEW model is now ready for use.

Using the Model DLL

You can now import the LabVIEW model into your System Definition just as you would any other model. The NI VeriStand Help and the NI VeriStand instructional video contain more information about importing models into the System Definition. 

Required Software

To build simulation models for NI VeriStand, you must have both NI VeriStand, LabVIEW, the LabVIEW Application Builder, and NI VeriStand LabVIEW Model Support installed on your computer. NI VeriStand LabVIEW Model Support is an optional software that you can install during NI VeriStand installation.

To be able to specify an ODE solver and model loop rate, you must also have the LabVIEW Control Design and Simulation Module installed. 

Back to Top

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit