Integrating and with Your Scripts

Darcy Dement Marketing Director France [email protected] Who We Are 800

700 •Leaders in Computer-based

Measurement and Automation 600

•Long-term track record of NI HQ growth and profitability 500

•$677M revenue in 2009 400 •More than 5,100 employees; operations in 40+ countries 300

•Fortune’s 100 Best Companies to 200 Work For 11 consecutive years

•16% invested in &D 100

0 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 00 01 02 03 04 05 06 07 08 09

2 What We Do

Low-Cost Modular Productive Software Highly Integrated Hardware for Development Tools Systems Platforms Measurement and Control

Used By Engineers and Scientists for Test, Design, and Control

3 The Numerical Mathematics Consortium

http://www.nmconsortium.org/

4 Discussion Topics: Connecting Math with the Physical World • Need for adding interactivity & instrumentation • A software option for interfacing with the physical world: NI LabVIEW • Using Scilab with LabVIEW • Use cases • Demo • Technical information

5 Textual Math Strengths

• Scripted math • Sequential order of execution • Vector and operations • Algorithm design for signal processing • Familiarity • User network and community

6 Need for Instrumentation & Interactivity

• Acquire real-world data • Perform frequency • Visualize data with with hardware analysis, probability, professional user • Generate real stimuli statistics, math, curve interfaces • Control any of 1000’s of fitting, interpolation, digital • Generate reports instruments with available signal processing, etc. • Publish and control drivers • Create custom algorithms applications on the web • Connect to databases • Efficiently store data in multiple file formats

7 Need for Instrumentation & Interactivity

• Acquire real-world data • Perform frequency • Visualize data with with hardware analysis, probability, professional user • Generate real stimuli statistics, math, curve interfaces • Control any of 1000’s of fitting, interpolation, digital • Generate reports instruments with available signal processing, etc. • Publish and control drivers • Create custom algorithms applications on the web • Connect to databases • Efficiently store data in multiple file formats

8 Complementing Your Scripts with Instrumentation and Presentation

Mathematical Simulation

Measurement and Presentation

9 Complementing Your Scripts with Instrumentation and Presentation

Mathematical Simulation

Measurement and Presentation

10 What is LabVIEW? Compiled Graphical Development Environment for Engineering & Science

• Implement and deploy custom applications . Automated test & measurement . Graphical system design • Easily implement and deploy custom GUIs by applying an open, hybrid (graphical + textual) programming approach • Acquire / generate signals, instrumentation • Apply analysis and signal processing • Present results in an interactive graphical format locally or online

11 Integrate LabVIEW with Scilab Scripts to Add Interactivity to Simulations

12 Integrate LabVIEW with Scilab Scripts to Add Interactive Visualization to Simulations

13 LabVIEW-Scilab Script Integration Simplifies Acquisition and Analysis of Live Signals

14 ni.com/idnet: Your Source for Instrument Drivers with LabVIEW Drivers for 6000+ instruments from over 275 vendors

15 Multiple NI Data Acquisition Options, Same Software

Ethernet Wi-Fi

PXI USB

PCI PXI Express PCI Express

16 DEMO Instrument Your Algorithms

17 How it Works: Using Scilab Scripts within LabVIEW

1. Install Scilab 4.1.1 or later, LabVIEW 8.0 or later, and the freely downloadable gateway 2. Open LabVIEW, create a new LabVIEW VI, and insert a Scilab script node on the VI block diagram 3. Enter your Scilab script in the Scilab script node 4. Right-click the Scilab script node border, select Add Input or Add Output, and enter input / output variable names 5. Connect LabVIEW wires to the new inputs and outputs

When you run your application, LabVIEW invokes the Scilab engine to execute your script

19 Downloading the Free Scilab-LabVIEW Gateway

scilab.org ni.com/info and enter: infoscilab

20 Conclusion & Call-to-Action

• LabVIEW adds instrumentation and interactivity to bring life to your mathematical simulations • Let us know about your applications for the Scilab / LabVIEW link (forums.ni.com, or http://url.ie/6dns) • Try LabVIEW free for 30 days – download at ni.com/labview [email protected]

21