customer facing slides for labview mathscript rt module: test
TRANSCRIPT
![Page 1: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/1.jpg)
1 ni.com
![Page 2: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/2.jpg)
ni.com
Integrating .m, .mdl and Real-Time Hardware for Math, Signal
Processing, & Controls
Brett Burger
Sr. Product Manager
Embedded Systems
![Page 3: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/3.jpg)
3 ni.com
High-Level Design Models Data Flow C Code Textual Math Simulation Statechart
Real-Time FPGA Microprocessors Desktop
![Page 4: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/4.jpg)
4 ni.com
LabVIEW MathScript RT Background
• Textual node & interactive window
• Added plug-ins:
• LabVIEW Control Design & Simulation Module
• LabVIEW Digital Filter Design Toolkit
• Compatible with The MathWorks, Inc.: • MATLAB®
• Signal Processing Toolbox™
• Control System Toolbox™
• DSP System Toolbox™
• Useful for desktop or real-time applications with hardware
MATLAB® and Simulink® are registered trademarks of The MathWorks, Inc..
![Page 5: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/5.jpg)
5 ni.com
LabVIEW MathScript RT Module
• Text-based controls, signal processing, analysis, and math
• 900 built-in functions / user-defined functions
• Reuse many of your .m file scripts created with The MathWorks, Inc. MATLAB® software and others
• Based on original math from NI MATRIXx software
• A native LabVIEW solution • Interactive and programmatic
interfaces • Does not require 3rd-party
software • Enables hybrid programming
MATLAB® is a registered trademark of The MathWorks, Inc..
![Page 6: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/6.jpg)
6 ni.com
Data Types in MathScript
• Real and complex numerics & matrices
• Booleans and strings
• Structs (can come from LabVIEW clusters)
• Cell arrays
• Plot objects
• W/ LabVIEW Control Design & Simulation Module: • Transfer function model
• State space model
• Zero-pole-gain model
![Page 7: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/7.jpg)
7 ni.com
Additional MathScript Capabilities
• User-defined functions
• Global variables shared between interactive window and node
• Special MathScript probe for debugging node
• Warning glyphs and guidance to improve run-time performance
• Nodes can run in parallel and on multi-core computers
![Page 8: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/8.jpg)
ni.com
MathScript Demo
Evaluation software available.
Try it for your application.
Support &Training Available.
![Page 9: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/9.jpg)
9 ni.com
LabVIEW Control Design and Simulation Module
• Both signal flow and .m file development
• Single environment for: • Simulation of dynamic systems
• Real-time implementation for rapid control prototyping or hardware-in-the-loop simulation
![Page 10: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/10.jpg)
10 ni.com
Standard Notation Reduces Learning Curve
LabVIEW Control Design & Simulation Module
The Simulink® software environment
Simulink® is a registered trademark of The MathWorks, Inc.
![Page 11: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/11.jpg)
11 ni.com
Simulink® conversion
Convert plant and controller models you create in the Simulink® environment into LabVIEW Control Design & Simulation Module code
Simulink® is a registered trademark of The MathWorks, Inc.
![Page 12: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/12.jpg)
12 ni.com
Co-Simulation w/ Multidomain Modeling Tools
• LMS AMESim
• Dassault Systemes Dymola
• Maplesoft MapleSim
• The MathWorks, Inc. Simscape™
• ITI SimulationX
![Page 13: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/13.jpg)
13 ni.com
Real-Time on Multicore Processors (DEMO)
Assign timed loops to specific processor cores.
![Page 14: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/14.jpg)
14 ni.com
LabVIEW Control Design & Simulation Benefits
• Complete simulation and real-time implementation capability - stay in one environment from design to test to implementation
• Easily create parallel and multirate simulation or control loops, leverage multicore
• Custom user interface to change and observe parameters as simulation or control system is running
• Use VIs or programming structures inside or outside of simulation loops:
• Integrated design and simulation, batch simulation
• DAQ, RIO, Vision, or CAN for I/O
![Page 15: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/15.jpg)
Deploy to Hardware Through LabVIEW
MathScript RT
Module
Control Design & Simulation Module
The MathWorks Inc. software development
environment
MATLAB®
Simulink®
LabVIEW Real-Time NI VeriStand
MATLAB® and Simulink® are registered trademarks of The MathWorks, Inc.
Simulink Coder™
CompactRIO, Single-Board RIO, PXI, or desktop
Your .m code
Your .mdl code
![Page 16: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/16.jpg)
ni.com
Control Design & Simulation Toolkit Demo
Evaluation software available.
Try it for your application.
Support &Training Available.
![Page 17: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/17.jpg)
17 ni.com
ISC Ltd. w/ Houlder Ltd.
Dr. Andy Clegg, Lead Engineer & ISC Managing Director: “We used the LabVIEW MathScript RT Module to run a textual node containing our m-file code, developed with MATLAB on a desktop, for kinematics on the real-time CompactRIO controller. MathScript has significant benefits for real-time deployment on the CompactRIO controller including determinism, easy debugging, and no extra compilation steps.“
![Page 18: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/18.jpg)
18 ni.com
Video “TAS (Turbine Access System)”
• http://www.youtube.com/watch?v=N21en93lrqg
![Page 19: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/19.jpg)
19 ni.com
Multi-Modal Rover for Search and Rescue
“With both an FPGA and a PowerPC processor, the Single-Board RIO platform has the flexibility to handle a variety of programming tasks and algorithms in an efficient manner. Onboard Ethernet, combined with a Wi-Fi adapter, enables real-time wireless communication, debugging, and deployment of software”
– Nick Morozovsky, Mechanical Engineering PhD student, Switchblade project leader
Coordinated Robotics Lab
![Page 20: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/20.jpg)
20 ni.com
Video “UCSD Switchblade Robot”
http://www.youtube.com/watch?v=Dw0WxPlyWlI
![Page 21: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/21.jpg)
21 ni.com
Wind turbine HIL Testing
• Hardware-in-the-loop (HIL) simulation of wind, pitch & blade position to test turbine controller
• Multicore PXI, LabVIEW RT & FGPA
• LabVIEW Control Design & Simulation Module
Siemens Wind Power Denmark
Real-time HIL model
![Page 22: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/22.jpg)
22 ni.com
Industrial HIL – National Oilwell Varco
“Having a simulation of the plant allow us to test our algorithm on the PLC on different working conditions much faster and effectively” - Pål Jacob Nessjøen, development advisor
Challenge. Modeling an industrial pump (including drives, gears, and drill string) and running it on cost effective hardware
Application. Create a test system to evaluate PLC performance before installing it offshore
Products used. LabVIEW, Mathscript and the Control Design and Simulation Module
![Page 23: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/23.jpg)
23 ni.com
Developing a Control System to Automatically Position a Split-Hopper Vessel
Application: Build a control system that keeps a ship on a fixed position and heading
Challenge: Design an advanced control system with DGPS, wind, current, gyroscope feedback
Products: PXI, cRIO, RT, LabVIEW Control Design and Simulation Module
Key Benefit: Use a common platform to develop controller and deploy system able to integrate third party information systems.
“We used NI tools because its software allowed us to reuse
the same code from simulation to deployment and its
hardware was reliable” Miguel Taboada, SEAPLACE
![Page 24: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/24.jpg)
24 ni.com
Deploy to Hardware Through LabVIEW
MathScript RT
Module
Control Design & Simulation Module
The MathWorks Inc. software development
environment
MATLAB®
Simulink®
LabVIEW Real-Time NI VeriStand
MATLAB® and Simulink® are registered trademarks of The MathWorks, Inc.
Simulink Coder™
CompactRIO, Single-Board RIO, PXI, or desktop
Your .m code
Your .mdl code
![Page 25: Customer Facing Slides for LabVIEW MathScript RT Module: Test](https://reader034.vdocuments.mx/reader034/viewer/2022051521/586a0f961a28ab847d8bb456/html5/thumbnails/25.jpg)
25 ni.com
Stay Connected During and After theSymposium
ni.com/nidayscommunity
facebook.com/nidays
twitter.com/#!/nidays
youtube.com/nidays