Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Links - Developer Zone

Related Links - Products and Services

LabVIEW Real-Time 8.20 Performance Improvements

6 ratings | 2.33 out of 5
Print

Overview

The LabVIEW 8.20 Real-Time Module includes many performance improvements over previous versions to help you optimize your applications that require high reliability and deterministic control. This document reviews some of the hardware and software improvements.

PID Control

The PID control functions included with LabVIEW 8.20 Real-Time Module have significant performance improvements over previous versions. The control code has been optimized for better performance, especially in cases of multiple channels as shown by the chart below.


[+] Enlarge Image

RT FIFOs


The LabVIEW 8.20 Real-Time module also has a new set of real-time FIFO VIs for interthread communication. Real-Time FIFOs are important mechanisms for passing data between multiple threads within a real-time application, without inducing jitter.


[+] Enlarge Image

[+] Enlarge Image

Single-Point IO


With improvements in the LabVIEW 8.0 and LabVIEW 8.20, as well as improvements in driver software; single-point IO performance for control has improved in most cases. One test done to benchmark performance finds the maximum sustainable rate on various controllers to perform an analog input read, a PID control algorithm, and an analog output read. The following tables show the performance improvements for various configurations of hardware.


[+] Enlarge Image
6 ratings | 2.33 out of 5
Print

Reader Comments | Submit a comment »

This article (and LabView as whole) has a very weak point in UNDEFINED responsivness. In an average 10 MIPS real-time system you can ENSURE, that the ISR starts performing in 1us if you really want it. In a real-time control the number of available operations per second is often not so important as the fact, that the I/O operations like ADC read must happen in EXACTLY defined time and that the responses to external events must happen in certain time limits. In my opinion real-time control in LabView and on a hardware where you have all the perverse PC dirty tricks like "cache memories" x86 "architecture" and multithreaded "Real Time" OS (this is a contradiction) is a nightmare. Just "stability" is less then sufficinet.
- Jan 3, 2007

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).