NI Linux Real-Time. Fanie Coetzer. Field Sales Engineer SA North. ni.com

Similar documents
Embedded Control Redefined: New C/C++ Options on NI Linux Real-Time

The LabVIEW RIO Architecture and the Newest Member to the CompactRIO Family

Simplify System Complexity

Simplify System Complexity

Open Platform for Developing and Testing Smart Grid Automation Systems. Igor Alvarado National Instruments Corp.

CompactRIO System on Module

ni.com What s New in 2013

Running OPAL-RT s ehs on National Instruments crio: Sub-microsecond power-electronic simulation

ni.com Decisions Behind the Design: LabVIEW for CompactRIO Sample Projects

Graphical System Design

Unit 2: Manage Files Graphically with Nautilus Objective: Manage files graphically and access remote systems with Nautilus

Designing Real-Time Control Applications Using LabVIEW and CompactRIO. Developer Days 2009

SysadminSG RHCSA Study Guide

Sviluppa Sistemi embedded con LabVIEW Design Real Systems, Fast

LabVIEW 2009 Real-Time & FPGA 最新技術剖析. National Instruments 美商國家儀器 行銷部技術經理吳維翰

ni.com Smaller Size, Increased Flexibility: Introducing the Newest Board-Level Embedded Target

10 Steps to Virtualization

FPGA design with National Instuments

ni.com Best Practices for Architecting Embedded Applications in LabVIEW

2018 GLOBALSCAPE TRAINING OVERVIEW

Embedded lightweight unix

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

The roborio web dashboard is a webpage built into the roborio that can be used for checking status and updating settings of the roborio.

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio

WLM1200-RMTS User s Guide

Azure Sphere: Fitting Linux Security in 4 MiB of RAM. Ryan Fairfax Principal Software Engineering Lead Microsoft

VMware AirWatch Content Gateway Guide for Windows

LabVIEW Programming for a Multicore Environment. Stefan Kreuzer Applications Engineer National Instruments

Bergmans Mechatronics LLC. User Guide. LabSocket-E v1.0. Jan Copyright 2017 Bergmans Mechatronics LLC. Alliance Partner

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.

Embedded Linux system development training 5-day session

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway

"Charting the Course... RHCE Rapid Track Course. Course Summary

VMware AirWatch Content Gateway for Windows. VMware Workspace ONE UEM 1811 Unified Access Gateway

Best Practices for Architecting Embedded Applications in LabVIEW Jacques Cilliers Applications Engineering

Bringing the benefits of Cortex-M processors to FPGA

High-Level Synthesis with LabVIEW FPGA

RedHat Certified Engineer

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

HySecure Quick Start Guide. HySecure 5.0

Cisco Configuration Engine 2.0

FastTrack to Red Hat Linux System Administrator Course Overview

VMware AirWatch Content Gateway Guide for Windows

Connectware Manager Getting Started Guide

SafeConsole On-Prem Install Guide. version DataLocker Inc. July, SafeConsole. Reference for SafeConsole OnPrem

EMBEDDED LINUX ON ARM9 Weekend Workshop

Copyright 2014 Xilinx

VMware AirWatch Content Gateway Guide for Windows

NI Smart Cameras PRODUCT FLYER CONTENTS. Have a question? Contact Us.

Remote power and console management in large datacenters

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

Introduction to LabVIEW and NI Hardware Platform

Resource 2 Embedded computer and development environment

OpenSwitch OPX Installation Guide with Enhancement Package. Release 2.1.0

ElasterStack 3.2 User Administration Guide - Advanced Zone

VMware AirWatch Content Gateway Guide for Windows

Securing VMware NSX MAY 2014

Active Fabric Manager for Microsoft Cloud Platform System Installation Guide for AFM-CPS 2.2(0.0)

Firmware RELEASE NOTES

VMware AirWatch Content Gateway Guide for Linux For Linux

3rd Party Application Deployment Instructions

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

SafeConsole On-Prem Install Guide

IoT Vulnerabilities. By Troy Mattessich, Raymond Fradella, and Arsh Tavi. Contribution Distribution

F5 Networks F5LTM12: F5 Networks Configuring BIG-IP LTM: Local Traffic Manager. Upcoming Dates. Course Description. Course Outline

Securing VMware NSX-T J U N E 2018

Bitnami OSQA for Huawei Enterprise Cloud

LifeSize Control Installation Guide

Building a Next Generation Data Logging System

WHITE PAPER Cloud FastPath: A Highly Secure Data Transfer Solution

OpenSwitch OPX Installation Guide. Release 2.1.0

Ftp Command Line Manual Mac Os X Enable Root User

Hands-on with the Sitara Linux SDK

SERV-U MANAGED FILE TRANSFER SERVER FTP SERVER SOFTWARE FOR SECURE FILE TRANSFER & FILE SHARING

QuickStart Guide for Managing Computers. Version

Bergmans Mechatronics LLC. User Guide. LabSocket-E v1.0. Mar Copyright 2018 Bergmans Mechatronics LLC. Alliance Partner

Linux Administration

ADempiere Community Document. Virtual Appliance 3.5.3a

Dell Active Fabric Manager for Microsoft Cloud Platform System 2.2(0.0)

ArcGIS Server Web Server Web Applications WWW. Applications. ArcGIS Server Manager. GIS Server. Data. Desktop GIS. ArcGIS Desktop (content author) SOM

EECS Berkeley EE249 LabVIEW Framework. Hugo A. Andrade Principal Architect LabVIEW Platform & Real Time Group

MOIS Overview. 1. Developer Walkthrough

EasyMorph Server Administrator Guide

ArcGIS for Server: Administration and Security. Amr Wahba

Heterogeneous multi-processing with Linux and the CMSIS-DSP library

SoC Systeme ultra-schnell entwickeln mit Vivado und Visual System Integrator

User Manual. Admin Report Kit for IIS 7 (ARKIIS)

Paperspace. Deployment Guide. Cloud VDI. 20 Jay St. Suite 312 Brooklyn, NY Technical Whitepaper

Unwired One. Main Features. Wireless embedded computer

"Charting the Course... Enterprise Linux System Administration Course Summary

QuickStart Guide for Managing Computers. Version 9.73

Bomgar Vault Server Installation Guide

P a g e 1. Teknologisk Institut. Online kursus k SysAdmin & DevOps Collection

SoC Systeme ultra-schnell entwickeln mit Vivado und Visual System Integrator

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

Android System Development Training 4-day session

Prerequisites: Students must be proficient in general computing skills but not necessarily experienced with Linux or Unix. Supported Distributions:

QuickStart Guide for Managing Computers. Version 9.32

InControl 2 Software Appliance Setup Guide

vcenter CapacityIQ Installation Guide

Transcription:

1

NI Linux Real-Time Fanie Coetzer Field Sales Engineer SA North

Agenda 1. Hardware Overview 2. Introduction to NI Linux Real-Time OS Background & Core Technology Filesystem Connectivity and Security 3. Advanced New Features C/C++ Support OPKG package manager 3

NI CompactRIO FPGA Processor Modular I/O 4

NI CompactRIO FPGA Processor Modular I/O Extreme Ruggedness: -40 to 70 C temperature range; 50 g shock, 5 g vibration High Performance: Highly Productive Up to LabVIEW 1.91 GHz, Graphical quad-core Programming i7 processor Environment for Programming Host, FPGA, I/O, and Bus Interfaces Comprehensive I/O: Analog, digital, custom, specialty, bus communication 5

New Value CompactRIO Hardware Architecture Processor FPGA I/O I/O Specialty I/O RAM Storage AXI Bus between FPGA and processor 300 MB/s throughput 667 MHz Dual-Core ARM Cortex-A9 Processor Some peripherals routed through FPGA Artix-7 FPGA with 85K Logic Cells 220 DSP Slices ARM Processor AXI Artix-7 FPGA Peripherals 7

LabVIEW Programmed NI CompactRIO crio-9002 crio-9004 crio-9072 crio-9074 crio-9075 crio-9076 crio-9012 crio-9014 crio-9024 crio-9025 crio-9081 crio-9082 13

LabVIEW Support for NI Linux Real-Time OS LabVIEW Real-Time Module supports developing, debugging and deploying applications to the NI Linux Real-Time OS deterministic operating system For users familiar with Linux, unlock the vast Linux ecosystem on the new CompactRIO controller Reuse C/C++ code in and alongside LabVIEW Real-Time built applications on the redesigned CompactRIO controller Freedom in Connectivity Expanded LabVIEW design flow for open web service creation Secure file transfer with WebDAV Improved network interface 16

NI Linux Real-Time Operating System Why Linux? Support across CPU architectures (ARM, x86, etc) Offers better security Not vendor tied, not proprietary Large ecosystem NI investment Reliable, real-time performance Future NI maintenance and management Real-time reliability WITH usability/ecosystem of a general-purpose OS 17

NI Linux Real-Time Operating System PREEMPT_RT Enables pre-emption and priority inheritance Improvements commonly applied to Linux mainline kernel Standard approach to real-time on Linux over last few years Dual Mode Separation between kernel/user memory space Increased system resilience and robustness Improved system security Scheduler Two schedulers: one for real-time tasks, one for all other tasks Improved system throughput with more efficient scheduling 18

Boot Modes and Partitions Run Mode (read and write) Has access to the root filesystem This is the mode in which LabVIEW runs Configuration Partition Holds networking configuration Houses Firewall and VPN settings if set Can be used to communicate between modes Safe Mode (read only) Securable with NI-Auth System Web Server is available Mode to restore to factory default without RMA Bootloader Safe mode & run mode kernels Configuration Partition Run-mode root file system 19

Multicore Performance Control Applications One core for critical code, rest on other core Introduction to LabVIEW Real-Time Symmetric Multiprocessing (SMP) High-end processing Load balancing across cores Specifying the Set of CPUs Available for Automatic Load Balancing in LabVIEW Real- Time Streaming applications Producer/Consumer architectures Take advantage of LabVIEW to more intuitively approach multicore programming 20

Optimizations for Multicore Programming Set Processor Affinity Time critical code on one core Normal priority on another core Best Practices reminder: Avoid 100% CPU use with realtime priority for extended periods of time Lower priority OS threads need access every so often for housekeeping Can affect system performance if housekeeping is starved 21

Filesystem & Connectivity

Filesystem on NI Linux Real-Time Compressed Filesystem (UBIFS) Can store more data locally on device /tmp clears on reboot RAMDisk, 64MB max size Filepath changes Unix style Locations of system files have changed 23

NI-Auth and NI Linux Real-Time Integration All user authentication goes through NI-Auth Use the Web Interface to manage users PAM Integration Users in NI-Auth are users in Linux admin user is superuser If admin password is lost, target must be reset to factory default Must contact NI 25

File Transfer: WebDAV Industry Standard Protocol Manage files on targets remotely over HTTP Secure File Access Authentication Encryption Supported by all OSes and Web Browsers New LabVIEW API for programmatic access 26

File Transfer: Unsecure FTP No unsecure FTP server installed by default on NI Linux Real-Time systems Unsecure FTP server can be manually installed for compatibility Must be accessed as the anonymous user Has root privileges similar to current crio 27

Secure Shell (SSH) Enable through MAX and/or Web Interface Can be used as a console Can be used to transfer files Permissions based on login SFTP Credentials synchronized with NI-Auth (Web Interface) 28

Demo CONNECTIVITY AND SECURITY ON NI LINUX REAL-TIME 29

Security on NI Linux Real-Time SSL enabled by default Can programmatically install software over SSL Can use public keys for SSH HTTPS only communication possible Can turn off HTTP version of the System Web Server IPTables* available for setting up a firewall OpenVPN* available for setting up a VPN *Not supported by Applications Engineering. Requires experience. No LabVIEW API 30

III. Configuration and Deployment

Consistent Right-Hand View in MAX and Web Interface 34

System Updates on NI Linux Real-Time NI Linux Real-Time targets can directly call Set Image Enables targets to reimage themselves Images can be pulled down from the network or stored on a USB drive Specify additional metadata when creating an RT image (title, version, description) Blacklist Wildcards with System Imaging* Globbing: * and? Character set matches: [abc] 35

View Image Meta-Data from MAX or WIF 36

Manage FPGA Bit Files Update and erase the FPGA bit files on NI Linux Real- Time targets programmatically, from MAX, and the web 37

Advanced New Features

Interacting with Code on NI Linux Real-Time To/From LabVIEW 1. Call Library Function Node 2. System Execution calls 3. Localhost communication Beyond LabVIEW 1. Init scripts for initializing at startup 2. Cron for periodic execution 3. Network enabled SSH programs 39

Flexible Software Integration Real-Time Processor FPGA Modular I/O Code Reuse Integrate existing applications and libraries Develop, debug and deploy C/C++ code Use Eclipse or IDE of choice Leverage the Linux ecosystem Interoperate with LabVIEW-programmed FPGA Programmable Hardware Offload critical, decision-making code to the FPGA Reliable, precision timing for control or processing Achieve high-speed, high-accuracy I/O Use graphical programming to leverage FPGA technology without HDL expertise 41

Eclipse for the CompactRIO Choice of C and/or LabVIEW for programming processor LabVIEW FPGA still required FPGA Interface C API provides access to the FPGA from C Installer provided that includes Eclipse and Compiler Available on /downloads Processing Subsystem FPGA Fabric ARM A9 ARM A9 LabVIEW FPGA FPGA Interface Host C Interface API 42

Accessing the Linux Community: Package Manager What is a package manager? Set of software tools for installing, updating, configuring and removing applications Think of the App Store, VIPM, etc. CompactRIO ships with a package manger pre-installed called opkg Does not take the place of MAX Access to hundreds of applications in the Linux community 49

Leveraging the Linux Community Enable OPKG access to repositories Download and configure applications as necessary Rely on the System Execution VI, Call Library Function Node, or localhost communication to interact Databases Security Code Reuse Connectivity Raima IPTables C/C++ NTP MySQL OpenVPN Shell Scripts SNMP PostgreSQL fail2ban Python IPv6 51

Key Resources Linux Real-Time Community /linuxrtforum Tutorials Documentation Forum for discussions /linux Links to whitepapers Embedded and Desktop uses 54

Questions?

Get your Embedded Certification! National Instruments is now offers the Certified LabVIEW Embedded Developer Exam Learn more /cled Email certification@ To Schedule Your Exam 56