click to edit master subtitle style labview...

31
1

Upload: others

Post on 17-Mar-2020

15 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

1

Page 2: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Click to edit Master subtitle style

LabVIEW 2010Hands-on S ession

For Current User

Zileriu VladS ales Manager Romania

National Instruments

Page 3: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Exercises for Today’s S ess ion

Improved Performance Ø Inlining

Tools for Distributed Measurement S ystemsØ Web ServicesØ HTTP(s) Nodes

Large Application DevelopmentØ Packed Project Libraries

Target-to-Host Data TransferØ Network Streams

Page 4: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Improved Performance

Page 5: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

LabVIEW 2010 Performance Metrics

~~480%

Complex Math - Black-S choles PDE solver

DAQ - Digital and Analog Waveform Reads

Real-time Math (PXI-8196) - MathS cript Heat Equation

Bit Manipulation - UnpackBits

Real-time Control (cR IO 9022) - Advanced PID

Real-time Control (cR IO 9022) - S ingle Channel P ID

Parallel For Loop - Mandelbrot

Large Array Math - Linear S cale (Multiply and Add)

0%

50% 100%

150%

200%

Run-Time Performance Improvement in LabVIEW 2010

% Improvement LabVIEW 2010 vs . LabVIEW 2009

Page 6: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

S ubVI InliningMaintain Code Modularity With Minimum Overhead

Removes all subVI call overheadAutomatically updates callers when callee’s code changes

Page 7: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

S ubVI InliningMaintain Code Modularity With Minimum Overhead

Debugging Not AllowedReentrant ExecutionAutomatic E rror Handling DisabledLook for Exclamation Marks

Page 8: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Exercise:Inline Benchmark

Page 9: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

New Dis tributed Measurement S ystems

Page 10: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Networking in LabVIEW

Remote monitoring and control is a common requirement

Multiple technologies and factors to consider

Page 11: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

LabVIEW Web S ervices BackgroundInvoke VIs over the web• URL selects the VI and specifies input terminal

values• Easily return output terminal values• Optionally return data of any type using Web

S ervices VI paletteUses RES Tful software architectureWindows, PharLap, VxWorksBased on LabVIEW’s new embedded web serverS erver-side only

Page 12: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Invoking a VI Us ing Web S ervices

Deploy VIs from Build S pecifications

Invoke VI via URL Web Request

Page 13: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

HTTP(S ) Nodes

Use the new HTTP Client VIs to build a LabVIEW web clientInteract with servers, Web pages, and Web servicesWorks with LabVIEW or 3rd-party Web services

Page 14: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

HTTP(S ) Nodes

Open/Close Handle – To Establish CommunicationHEAD – To Retrieve Header of the DocumentGET – To Retrieve The Resource from the S erverPOS T – To S end Data to the S erverEasy to Create Web C lient Application

Page 15: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Exercise:Web S ervices and HTTP nodes

Page 16: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Large Application Development

Page 17: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

S eparate Compiled Code From S ource FileImproved S ource Code Control

E liminate the need to re-save and re-submit files to source code control unless the graphical source code has been changed by the developer

Page 18: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Packed Project LibrariesDistribute and Reuse LabVIEW Code Easily• Deploy the VI hierarchy with a single file• S horter build times for calling VIs• S implified code deployment• .lvlibp file type

Example # S ource VIs

EXE Build Time

# VIs Built Into PPL

EXE Build Time

Build Time Improvement

Agilent 34401 Acquire and Graph - S W Triggered.vi 53 6.3 s 22 5.15 s 18.2%

E-Mail Notification.vi 102 8.66 s 68 5.82 s 32.8%

Update Weather Data.vi 71 12.97 s 46 5.48 s 57.8%

Custom Example 1000 53.93 s 999 15.94 s 70.4%

Page 19: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Exercise: Packed Project Libraries

Page 20: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Target-to-Host Data Transfer

Page 21: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Network Connectivity Options in LabVIEWTCP/IP and UDPDefine low-level communication protocols

Remote Front PanelsQuickly embed a front panel in a browser

S hared VariablesQuickly develop distributed systems throughdrag-and-drop configuration

Page 22: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Network S treaming in LabVIEW

Based on TCPHigh throughput

Queues-like ExperienceEasy to program

Adaptive Data TypeNo need to type cast

Page 23: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Exercise:Data Transfer with Network S treaming

Page 24: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

IP Integration Node - Directly import Xilinx .xco files or your own VHDL easily

New Compilation Flow - Earlier Compilation E stimates and Build S pecifications

Cycle-Accurate S imulation - Use ModelS im for Cycle-Accurate S imulation

More IP Blocks - New IP for S tatistics, Complex Multiplication, and More

Host Improvements – New Dynamic reference for Host VI reuse

LabVIEW 2010 FPGA Module

Page 25: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

FPGA Module – High-Throughput Math

Numerous Mathematical FunctionsExecution within one clock cycle (with pipelining)

Page 26: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

FPGA Module – Additional IP S ources

www.ni.com/ipnet - Library of FPGA VIsXilinx Core Generator – Wizard-based IP Creator

Page 27: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

FPGA Module – (Advanced) DS P48E

Lowest-level FPGA UsageFastest Throughput (even 550MHz)Wizard-based ConfigurationRequires Familiarity with Virtex-5 FPGA XtremeDS P Design Considerations User Guide

Page 28: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Compilation Workers

LabVIEW 2010 FPGA CompilationLabVIEW FPGA Compile Farm Toolkit

LabVIEW FPGA Development Machines

Compilation “S mart” S erver

Page 29: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

LabVIEW Training and Certification Path

ni.com/romania/training

Page 30: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Training and Certification Membership Program

Flat rate training program withü unlimited access to all scheduled

courses for one or two years,ü personalized training programs,ü option to retake all courses,ü skill validation with professional

credentials,ü and money-back satisfaction

guarantee.

Page 31: Click to edit Master subtitle style LabVIEW 2010traian/web_curs/LabVIEW/docum/lv_avans_2010.pdfReal-time Control (cRIO 9022) - Advanced PID Real-time Control (cRIO 9022) - Single Channel

What’s New in LabVIEW 2010 ni.com/labview

Thank you for your attention!