EasyManua.ls Logo

NI LabVIEW User Manual

Default Icon
11 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
© 2003–2004 National Instruments Corp. All rights reserved. Printed in Ireland.
FieldPoint™, LabVIEW™, National Instruments™, NI™, ni.com™, and NI-DAQ™ are trademarks of National Instruments
Corporation. Product and company names mentioned herein are trademarks or trade names of their respective
companies. For patents covering National Instruments products, refer to the appropriate location: Help»Patents in your
software, the patents.txt file on your CD, or ni.com/patents.
April 2004
323525B-01
Getting Started with the
LabVIEW Real-Time Module
This document provides steps to build a simple deterministic application
and references to programming examples and documentation for more
information as you build the application. Refer to the LabVIEW Real-Time
Module Release Notes for installation and configuration instructions. Refer
to the LabVIEW Real-Time Module User Manual for information about
programming deterministic applications using LabVIEW.
Contents
Launching LabVIEW and Exploring Documentation ............................ 1
Creating and Running a Deterministic Application................................ 3
Creating the Control Loop ............................................................... 3
Adding Analog Input/Output and Data Processing
to the Control Loop....................................................................... 4
Setting Priority of the VI to Time Critical....................................... 6
Adding Timing to the Control Loop................................................ 6
Sending Data Out of the Time-Critical VI....................................... 7
Downloading and Running the Application .................................... 9
Optimizing the Control Application ....................................................... 11
Launching LabVIEW and Exploring Documentation
The LabVIEW Real-Time Module includes a comprehensive
documentation set designed to help you create deterministic applications.
The LabVIEW Real-Time Module Bookshelf, available by selecting
Help»Search the Real-Time Module Bookshelf from LabVIEW,
is a PDF that contains links to and descriptions of the available
Real-Time Module documentation.
1. Launch LabVIEW to open the LabVIEW dialog box shown in
Figure 1.
2. Open and explore the LabVIEW Real-Time Module Bookshelf.
ni. c o m
Question and Answer IconNeed help?

Do you have a question about the NI LabVIEW and is the answer not in the manual?

NI LabVIEW Specifications

General IconGeneral
Programming LanguageG (Graphical Programming Language)
Operating System SupportWindows, Linux, macOS
Real-Time ExecutionYes
Hardware IntegrationYes (NI Hardware, Third-Party Hardware)
Parallel ExecutionYes
Data AcquisitionYes
Control Design and SimulationYes
Signal ProcessingYes
User InterfaceGraphical User Interface (GUI)
Deployment OptionsEmbedded Systems

Summary

Launching LabVIEW and Exploring Documentation

Creating and Running a Deterministic Application

Creating the Control Loop

Steps to create a control loop for the control VI, including adding a While Loop and Stop button.

Adding Analog Input/Output and Data Processing

Steps to add analog input/output and a PID control VI to the control loop for data processing.

Setting Priority of VI to Time Critical

Assigning time-critical priority to a control loop VI to ensure it receives sufficient processor resources.

Adding Timing to the Control Loop

Incorporating a timing mechanism (e.g., Wait Until Next ms) to pause the control VI.

Sending Data Out of the Time-Critical VI

Using Real-Time FIFOs to send data between a time-critical VI and a communication VI.

Downloading and Running the Application

Optimizing the Control Application

Related product manuals