Sie sind auf Seite 1von 78

Radim TEFAN, Roman VALA

Monost vhry !!!


Radim TEFAN
National Instruments
Praha

110 00
765 356 876
410 02+ 456
radim.stefan@ni.com

16
52
24 V

300 Hz
kasjhf lasdkjhf lakjd flakjdfh lakjdhal
Q kajsdhf laksdhfoaidfh kc alkjdhf alkjdf
Y adjh alkdjhl akvdj lakskdjf hgslkdjfhslk fg
jkdhf akjsdhf lkasdhlfhi erufhi suhfkdj

LEGO
Mindstorms NXT

LabVIEW grafick vvojov prosted

Kompilovan grafick vvojov prosted

Vvoj 4x-10x rychlej oproti bnmu programovn


Nstroje pro sbr, analzu a zobrazen dat

LabVIEW jednoduch programovn


LabVIEW

C*

* does not include code to generate UI

20 Years of Innovation
LabVIEW 6i

LabVIEW

Internet Ready

For Sun, Windows

LabVIEW 4.0
Professional
Development

LabVIEW 1.0
For Macintosh

1990
1986

Anniversary Edition

1993
1992

LabVIEW
Embedded and DSP

1998
1997

2005

2003
2000

2005

LabVIEW 5.0

LabVIEW 2.0

LabVIEW 8

Undo! Real-Time

Compiled Language

Distributed Intelligence

LabVIEW 3.0
Multiplatform

2006

LabVIEW 7 Express
PDA and FPGA

Easy. Powerful. Open


Make common measurements EASY with
any board, instrument, or bus
Help users build POWERFUL solutions
with standard PC technology
Integrate external tools and technologies
with an OPEN platform

Major Features in LabVIEW 8.20


MathScript
Object-Oriented Programming
3D Picture Control
DLL Import Wizard
TDM Streaming
ni.com/labview/upgrade

LabVIEW MathScript

Combine textual math and graphical programming


Reuse many of your m-file scripts created with The MathWorks, Inc.
MATLAB software
MATLAB is a registered trademark of The MathWorks, Inc.

demo

What Is LabVIEW MathScript?


Powerful textual programming for signal
processing, analysis, and math
More than 650 built-in functions
Reuse many of your m-file scripts created with The
MathWorks, Inc. MATLAB and others
Based on original math from NI MATRIXx

A native LabVIEW solution


Interactive and programmatic interfaces
Does not require third-party software

MATLAB is a registered trademark of The MathWorks, Inc. All other


trademarks are the property of their respective owners.

MathScript Features
MathScript Feature

Description

Powerful Textual Math

Over 650 built-in functions for math, signal processing and analysis

Math-Oriented Syntax
and Datatypes

Matrices and arrays are fundamental datatypes.


Largely support vectorized operations

Compatible

Generally compatible with the widely used m-file script syntax

Extendible

Define custom functions

Part of LabVIEW

Does not require third-party software to compile and execute

Programmatic LabVIEW
Interface

Combine graphical & textual code programming

MathScript Details
Part of the Full, Professional, Student and Evaluation
editions of LabVIEW, for Windows platforms only (no
Linux, Mac, RT, etc.)
MathScript is NOT a standalone replacement for
alternative technical computing software
Third party toolboxes are not supported
Some commands and variable types are not supported

5a

MathScript Window Components

Output Window
Workspace
Selected Variable

Command Window

Getting Started
Window

The MathScript Window : Variable View

5b

The MathScript Window : Script Tab


Interactively develop and test
scripts and functions with the Script
Editor
Enter / Edit script text
Save & Compile / Save / Load / Run scripts

Launch separate Script Editor


window for easy editing

5c

Right Click
Pop-up
Menu

5d

The MathScript Window : History Tab

Right Click to
Clear History

MathScript Node

5e

Embed MathScripts into LabVIEW code


on the block diagram
Populate with m-file script text
Type m-file scripts directly into the node
Import from files

Create inputs/outputs on node edges


MathScript compiles script when run
Unlike MATLAB script nodes, MathScript
script nodes do not require third-party
software
MATLAB is a registered trademark of The MathWorks, Inc

MathScript
Node

5f

MathScript Node
m-Script
MathScript
Node

Right-Click Menu

Programmatic Math with the MathScript Node


Combine graphical system design with textual math
Deploy with LabVIEW graphical programming
Implement equations and algorithms with text

Goal: Multiple Programming Approaches

Freedom to choose the best approach

Reuse your existing code

Add interactive user interfaces to your


algorithms

Integrate math with real-world I/O and


instrument control

Demo: MathScript

Working with Graphical and Textual


Approaches in LabVIEW
Always consider both
Prototype and instrument your math algorithms
Use LabVIEW features through graphical programming
Take a mixed approach to combine graphical and textual
benefits
Work within a single environment to simplify and reduce cost
Reuse your existing m-files

Major Features in LabVIEW 8.20


MathScript
Object-Oriented Programming
3D Picture Control
DLL Import Wizard
TDM Streaming
.
ni.com/labview/upgrade

LabVIEW Object-Oriented Programming


Parent Class

Classes and objects


Encapsulation

Child Class

Inheritance

For power programmers and large-scale


application development

Demo: Object-Oriented Programming

Major Features in LabVIEW 8.20


MathScript
Object-Oriented Programming
3D Picture Control
DLL Import Wizard
TDM Streaming
.
ni.com/labview/upgrade

History of 3D in LabVIEW
LabVIEW 5.1:
First 3D Graphs available
ComponentWorks controls based on
ActiveX

LabVIEW 7.1:
First 3D Picture Control software
Separate download
No technical support offered

3D Picture Control

Create 3D scenes using picture control VIs


Control object motion, size, and color using OpenGL
Import objects from design tools (VRML, STL, ASE )

Demo

How Does it Work?


Introduction to API
Geometries
Box, Cone, Cylinder, Height Map, Mesh or
Sphere

Object
Create or Find object

Transformations
Translate, Rotate or Scale objects

Helpers
Color, Light, Window, Texture, etc.

File Loading
Import ASE, STL or VRML files

Further functionality available


through Property and Invoke
Nodes

Benefits of New 3D Picture Control


Easy to use API
Powerful
Hardware acceleration supported for Scene Window
Leveraging scene graph technology*

Multi-OS support
Mac, Linux and Windows
*OpenSceneGraph (www.openscenegraph.org)

Demo: 3D Tools

Example of 3D scene

Major Features in LabVIEW 8.20


MathScript
Object-Oriented Programming
3D Picture Control
DLL Import Wizard and External Code
TDM Streaming
.
ni.com/labview/upgrade

History of Calling External Code


Call Library Node
Call shared libraries in Windows, Macintosh and Linux

ActiveX
Support added in LabVIEW 4.1
Containers and servers added in LabVIEW 5
Event support added in LabVIEW 6i

.NET
Support for .NET added in LabVIEW 7
.NET enabled the support for Web Services in LabVIEW
Support for .NET Events and Controls in LabVIEW 8

Call Library Node Advances


You can now dynamically load
and unload shared libraries
Error cluster support
View parameter names on
block diagram
Function callbacks

DLL Import Wizard

Automatically generate LabVIEW interfaces to your DLLs


and shared libraries
Support for: Windows (.dll), Linux (.so) , Macintosh (.framework)

Demo

Shared Library Import Wizard


You can now quickly and easily
generate LabVIEW VIs from shared
libraries
Supports
Windows (.dll)
Linux (.so)
Macintosh (.framework)

Header file (.h) necessary


Saves configuration info to quickly
recreate or modify LabVIEW VIs

.NET Web Service Import Wizard

.NET
Remote
Procedure

Web Server

Automatically generate LabVIEW interfaces to Web Services

Web Service Import Wizard

You can now easily connect to online Web Services


Simple creation of LabVIEW VIs from WSDL
No low-level programming needed

Intern
et
Web Service Requesters

Web Service Providers

Instrument Driver Export Wizard


Instrument Driver

Export Wizard

DLL, .h, and Help


Files

Develop drivers in LabVIEW, reuse in C

C Interface Generator
You can now create drivers in
LabVIEW, then use in C
Wraps LV DLLs for use in C
Converts parameters to C data
types
Modifies documentation to be C
specific

Major Features in LabVIEW 8.20


MathScript
Object-Oriented Programming
3D Picture Control
DLL Import Wizard
TDM Streaming
ni.com/labview/upgrade

TDM Streaming API

TDM Data Model

Easily save search-ready data files


Stream data in standard or real-time applications
Mine data files using NI DIAdem DataFinder
Demo

NI Core TDM Components


TDM Data Model & File
TDM Streaming VIs
Data Storage VIs
DataPlugins
DIAdem DataFinder
In this second half of the presentation well investigate how you
use TDM to address your data management challenges

TDM Files are Self Describing


Header
Description
Title
Author
etc
UUT
Procedure
etc

Name
Comment
Unit
Max & Min
Sensor Info
etc

Bulk Measurement Data

Interfacing with the TDM Data Model


TDM Streaming API
(new)

TDMS File
(binary)

TDM Data Model

Storage API
(existing)

TDM File
(binary + XML)

The LabVIEW Data Storage API (existing)

Read and Write TDM & TDMS files


Advanced functions for selective data loading
Supports reading data using DataPlugins
Convert TDM to TDMS files and vice versa

The LabVIEW TDM Steaming API (new)

Read, Write, and set properties (TDMS files)


Optimized for High Speed Streaming
Covers the widest range of file i/o use cases

Demo: TDMS Files

Excel can load and read TDMS Files


Excel can load TDM Files
Visit, www.ni.com/tdm and download Excel Add-in for
TDM.

Major Features in LabVIEW 8.20


MathScript
Object-Oriented Programming
3D Picture Control
DLL Import Wizard
TDM Streaming
Other Features
ni.com/labview/upgrade

Improved Remote Panel Server

Simultaneously Control VIs over the Web

LabVIEW Signal Processing and Analysis


Area

Types

Window
Functions

Modified Bartlett-Hanning
Bohman
Parzen
Welch

Pulse Train
Generation

Pulse Train
Gaussian Modulated Sine
Pattern
Gaussian Monopulse
Periodic Sinc Pattern
Triangle Pattern (generic)

Digital
Filtering

FIR Filter
Savitsky Golay

Front-Panel Wall Paper

Ri

C
t
gh

k
c
i
l

Easily embed scalable image

New File I/O Capabilities


List all files and folders in path
Check if file or folder exists
Compare two file paths
Found on Adv. File I/O palette

Auto-Backup and Restore

Periodically backs up all unsaved files


Restores VIs to selected state
Performs graphical differencing of backup and original (PDS)

Application Builder Enhancements


Merge or replace hardware
configuration settings on
target PCs
Speed installer creation by
caching driver software on
disk
Auto-increment executable,
DLL, and installer versions

Building on the Innovations of LabVIEW 8


Environment improvements

Performance Tuning

VI load time reduced by up to 40%


First launch time reduced up to 30%

Execution speed
RT PID algorithm 14X faster
Shared variable 70% faster update
Simulation module 9X faster run/compile

Completeness
Application Builder
Shared variable (PDA, Touch Panel)
Embedded development

Easy. Powerful. Open.


Graphical Platform for Design, Control, and Test

LabVIEW Development Systems


(Student, Base, Full, Professional)
Real-Time
Module

DSC
Module

FPGA
Module

PDA and
Touch Panel
Modules

Modulation
Toolkit

Digital Filter
Toolkit

Control
Design

System
Identification

Embedded Simulation
Module
Module
Advanced
Analysis

Internet and
Database

Windows | Mac | Linux | RTOS


English | French | German | Japanese | Korean | Chinese

Vision and
NI SoftMotion
Modules
Sound and
Vibration

Extending Distributed Intelligence

Design, Distribute, and Synchronize


Intelligent Devices and Systems

New Targeting Technology Extends Distributed Intelligence

FPGA Wizard
Real-time applications on the desktop
New Touch Panel Module
Shared variable on LabVIEW PDA
LabVIEW Embedded project integration

LabVIEW FPGA Wizard


LabVIEW FPGA Wizard
VHDL

LabVIEW 7
Express

Create intelligent DAQ devices with custom timing and I/O


Demo

Demo: FPGA Wizard

Real-Time Applications on a Desktop Computer


Run real-time applications on compatible PCs
Download new system validator to test compatibility
Convert PCs into a real-time system with the Real-Time
Desktop Bundle

...validated

NEW! LabVIEW Touch Panel Module


NI TPC-2006

Create custom human-machine interface (HMI) applications for


the NI TPC-2006 and other Windows CE devices

LabVIEW PDA Module


Wireless communication with shared variable
Portable low-cost USB DAQ

LabVIEW Embedded Development Module

Program any 32-bit microprocessor


Manage embedded targets from the LabVIEW Project
New example targets ARM7 and TI C6X

LabVIEW for LEGO Mindstorms NXT

Bridging Design and Test with Graphical System Design

Design tool connectivity


Textual math
Control design and
simulation
RF design and test

LabVIEW Control Design and Simulation


Modeling
and Design

System
Testing

Hardwarein-the-Loop
Testing

Rapid
Prototyping

Targeting

Design, simulate, and implement dynamic control systems


Deploy simulations to real-time and embedded targets
Control Design Toolkit improvements
Use with real-time systems
Apply advanced Kalman filter

Open Connectivity to Design Tools


Mathematics
The MathWorks, Inc. MATLAB
Maplesoft Maple
Mathsoft Mathcad
INRIA Scilab

Circuit EDA
Electronics Workbench
Multisim
Cadence PSpice
Ansoft Designer
ADI OpAmp Selector

Embedded Software

Control Design and HIL


The MathWorks, Inc. Simulink
NI MATRIXx, SystemBuild
Dynasim Dymola
Plexim PLECS
Mech Sim CarSim

Mechanical Design
SolidWorks COSMOSWorks
MSC Nastran and Adams
Autodesk AutoCAD

TI Code Composer Studio


Analog Devices VisualDSP++
Freescale Code Warrior
Wind River Workbench

CATIA, PTC Pro/Engineer

Increasing productivity through integrated design and test


ni.com/validation
MATLAB and Simulink are registered trademarks of The MathWorks, Inc.

LabVIEW Modulation Toolkit


Bit
Generation
Galois PN
Fibonacci PN

Bits

Source
Coding
Data Compression
Digital Filters
Custom VIs
M-Script
Custom DLLs

Channel
Coding

Bits

Bits

Hamming, Golay, Reed-Solomon,


Bose-Chaudhari-Hocquenghem
(BCH), Convolutional, Spreading
Interleavers, Puncturing
Equalization

Modulation

IQ

AM, FM, PM
ASK, FSK, MSK, GMSK, PAM, PSK, QAM,

OFDM
BER, Burst Timing, Frequency Deviation,
MER, EVM, (rho)

Analyze and generate analog and digital modulated signals


Develop software-defined radios
Use new OFDM examples
Demo

Demo: RF Modulation

New LabVIEW 8.20 DSC Module Features

2X data-logging performance improvement through shared variable


Tools for power programming
Instantly create thousands of shared variables programmatically
Express VI to create I/O servers (e.g., OPC, Modbus, etc.)

Send alarms and events to printers as they occur

Object-oriented graphical programming


OpenGL-based 3D Picture Control
Multiuser Web-based application control
High-speed TDM data streaming
Simplified dynamic VI calling
Auto-backup and recovery of VIs
DLL import wizard
Express VI for continuous data acquisition
LabVIEW Real-Time USB boot disk
C interface export wizard for instrument drivers
.NET Web service import wizard
OFDM example programs

System replication tools for real-time systems


Faster real-time interthread communication
USB storage with LabVIEW Real-Time
FPGA Wizard
New FPGA IP for math and signal processing
64-bit integer support with LabVIEW FPGA
Improved memory access for LabVIEW FPGA
LabVIEW PDA user interface improvements
Shared variable support for LabVIEW PDA
Touch Panel Module for industrial displays
Third-party FPGA IP integration
LabVIEW Embedded project integration
Textual math with MathScript

Ceny a upgrade na
Nov licence LabVIEW (K bez DPH)
Base Package
31 020, Full Development Systm 62 070, Professional Development System 106 060,-

DeveloperSuite (LabVIEW PDS, CVI, MStudio, + 8 toolkit)


Professional Edition111 240,-

Upgrade z LabVIEW 7.x


Base Package
15 500, Full Development Systm 31 020, Professional Development System
www.ni.com/upgrade

51 720,-

Ceny pro koly


Plon license pro celou katedru, fakultu, univerzitu
Katedrln licence na NI software

123 730,-

Licence LabVIEW pro vuku


Licence na 10 pota (LabVIEW FDS)

47 000,-

Kombinace HW a SW (Starter Kit)


PCI-6221 + psl. + LabVIEW FDS
cRIO + LabVIEW PDS, RT, FPGA

21 010,61 850,-

Slevy z bnho cenku: 10-25% na HW, 35-75% na SW

kolen nejrychlej cesta k produktivit


esk poboka zajiuje kolen vech produkt NI
Oficiln kolc materily a certifikty
Hardware prokolen
kadhoZklady
astnka
LabVIEW 1 a 2
Mnoho pklad
27 000 K, SSP -10%, koly -50%
kolen pro jednotlivce
kolen ve firmch
ni.com/training

Dal informace:
www.ni.com
www.ni.com/czech - esk pruka k LabVIEW
www.ni.com/trylabview - online demoverze
www.ni.com/labview
www.ni.com/automatedtest
www.ni.com/measurementfundamentals

Das könnte Ihnen auch gefallen