34
ni.com Validierung und Verifikation mit der NI Plattform Sascha Egger National Instruments Switzerland GmbH

Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

  • Upload
    haquynh

  • View
    219

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

ni.com

Validierung und Verifikation mit der NI Plattform

Sascha Egger

National Instruments Switzerland GmbH

Page 2: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

2 ni.com

Today, We’ll Explore:

Validation and Verification

The Challenges of Developing Test and Measurement Systems

Introduction to the NI Automated Test Platform

Scaling Up Production with Parallel Testing

Page 3: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

3 ni.com

Validation and Verification

• Validation Tests

• Does the product satisfy its

intended usage?

• Did you build the right

product?

• High level and exploratory

• Example: Usability test

• Verification Tests

• Does the product satisfy its

requirements or design?

• Did you build the product

right?

• Detailed and conclusive

• Example: Manufacturing

test

Page 4: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

4 ni.com

MP3 player

Internet/E-mail

Cellular Phone

Digital Camera

Gaming

High resolution

display

Smart Phone

PDA

Today’s Designs: Converging Complexity

Page 5: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

5 ni.com

Today’s Challenges: The Traditional Approach

Oscilloscope

Logic Analyzer

Spectrum Analyzer

Digital Multi Meter

(DMM)

Communications Analyzer

LCR Meter

Function

Generator

Power Supply

Pattern Generator

Programmable

Switch

Page 6: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

6 ni.com

Traditional Testing Solutions

Challenging to Develop and

Maintain

• Disaggregate hardware

• Closed software solutions

• Conflicting programming approaches

• Limited analysis and visualization

• Hard to integrate new technologies

Page 7: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

7 ni.com

Introduction to the NI

Automated Test Platform

Page 8: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

8 ni.com

Components of an Automated Test System

NI LabVIEW LabWindows™/CVI Other Software

Measurement Studio, Visual

Studio.NET™, …

RF Measurements Bus Interfaces (GPIB/LXI/Serial)

Signal Generation PC or Embedded Controller

Switching PXI Chassis

Fixturing/

Mass Interconnects

SO

FT

WA

RE

H

AR

DW

AR

E

Test Development Software

NI TestStand Test Management, Test Deployment

IVI, VISA, NI-DAQ, NI-DMM, NI-SCOPE, NI-FGEN, NI-HSDIO, …

Test Management Software

Drivers, Services, Hardware Abstraction

Page 9: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

9 ni.com

Common Needs

No matter the industry, every company has testing needs for their products to ensure quality. A proper automated testing framework (either built in-house or off-the-shelf) should:

1. Provide a flexible, open test architecture

2. Eliminate programming of common test executive tasks

3. Enable reuse of existing test code

4. Simplify updates and long-term maintenance

5. Accelerate test system development

6. Ensure high test system performance

Page 10: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

10 ni.com

Test Executive – Build or Buy?

• Build (in-house) • Pros

– Meets custom needs

– Leveraging of code from current solution

– Utilizes existing developer talent

• Cons

– SW Maintenance

– Training

– Major development effort

– Different groups often create different test executives

• Buy (COTS) • Pros

– Training & certification courses

– Flexible architecture

– Built-in reporting and database logging

– Existing worldwide developer base

• Cons

– Overkill for basic sequencing

– Lack of full control over code base

– Price

Page 11: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

11 ni.com

TestStand Accelerates Construction and

Deployment of Advanced Test Architectures

Page 12: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

12 ni.com

NI TestStand – Test Management Software

• Graphical development

environment

• Automate tests written in

any language

• Multithreaded sequence

execution

• ASCII, HTML/Web, XML,

and ATML report

generation

• Access, Oracle,

SQL Server database

connectivity

Page 13: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

13 ni.com

• Use drag-and-drop

step creation

• View and edit existing

step properties with

fewer clicks

• No programming

needed, just

configuration

Streamlined Sequence Editor

Page 14: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

14 ni.com

NI TestStand – Operator Interfaces

• Full Featured and Simple User Interfaces are provided in

NI LabVIEW, NI LabWindows™/CVI, C#, C++, and

VB.NET

• TestStand Deployment Utility builds a simple installer with

necessary dependencies

Page 15: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

15 ni.com

Choosing a Development Environment

• Faster/Easier Development and Debugging

– Complete and intuitive graphical environment, hierarchal dataflow-oriented design

• High-Performance Execution – Efficient and fast executables, advanced

multithreading capabilities, proven reliability

• Components – VIs, DLLs, COM, A Reusable/Standard

ActiveX server and component capabilities

• Designed for Engineers – 3rd party bench-top instrument support with

more than 10,000 instrument drivers, powerful visualization capabilities, and scientific analysis tools

Page 16: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

16 ni.com

Example Test Application

• Automated Test of a consumer electronic device

• Power On Test and Battery Test

o PXI-Power supply and PXI-Digital Multimeter (DMM)

o OR a PXI-Source Measurement Unit (SMU)

• RF Tests (LTE Test, 802.11b/g/n Test)

o PXI RF-Signal Analyzer

• Audio Test (Mikrophone Test, Speaker Test)

o PXI-DSA

• User Input Test (Button Test)

o PXI- digital I/O Module Unit under Test (UUT)

Page 17: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

17 ni.com

Example

UUT

Hardware Drivers

LabVIEW

NI TestStand

Hardware

(. . .) C/C++ .NET other

Software

Call Sound Quality Test.vi

NI-Scope, NI-FGEN, NI-DAQmx etc.

Pass Fail

PXI Digitizer, PXI-FGEN, PXI-DAQ etc.

Call Power Consumption Test.vi Call Memory Test.vi

Hardware

Systemlevel

ADE

Driver

Page 18: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

18 ni.com

PXI - The Industry-leading Platform for Test,

Measurement and Control

PXI Controllers Performance embedded – Windows or RT OS

Remote control via desktop or laptop

PXI Chassis Options ranging from low-cost, 4-slot desktop

to high-performance 18-slot rack-mount

PXI Modules >1,500 options from over 60 PXI vendors

Software Flexible driver APIs, example code,

soft front panels and configuration

Page 19: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

19 ni.com

Complete PXI Instrumentation Portfolio

Multifunction I/O

FPGA / Reconfigurable I/O

Digital I/O

Analog Input / Output

Vision and Motion

Counter / Timer / Clock

DAQ and Control

Oscilloscopes

High-Speed Digital I/O

Digital Multimeters

Signal Generators

Switching

RF Analyzers & Generators

Instruments

GPIB, USB, LAN

RS232 / RS485

CAN, LIN, DeviceNet

SCSI, Ethernet

VXI - VME

Boundary Scan / JTAG

Interfaces

Page 20: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

20 ni.com

Software-Designed Instruments

Typical Modular Instrument Software-Designed Instrument

Software on the PC using the

Instruments API (i.e. IVI or NI-Scope)

Fixed

FPGA

Firmware

FPGA-

Code

Host-Software controlling Instrument

through API or custom interface

Similar hardware architecture and measurement quality

Out-of-the-box

functionality

with FPGA

enhancements

Page 21: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

21 ni.com

Software-Designed Instruments:

Detect events faster and deterministically

Dead time

Continuous acquisition and processing

without dead time capturing all events

Missed event

Page 22: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

22 ni.com

Demo: Time Domain Mask Trigger

• Acquire only signals (i.e. a glitch) that follow an given

envelope or path

Page 23: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

23 ni.com

Demo: Time Domain Mask Trigger

Host FPGA

Application-Specific Host VIs Application-Specific FPGA VIs

Instrument Driver Instrument Driver FPGA VIs

Page 24: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

24 ni.com

Fixturing/Mass Interconnects

• Hardware designed for quick

connection and disconnection

with high signal reliability

• Very important for test systems

with large numbers of test points

Page 25: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

25 ni.com

Scaling up Production

with Parallel Testing

Page 26: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

26 ni.com

Increasing Hardware Utilization with Switching

PXI-2532 8x64 Matrix

DM

M

+

- LED 1 (blue)

LED 2 (white)

Page 27: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

27 ni.com

Graphical Configuration

Excel Integration

Easy channel aliasing

Automatic routing

Interactive Debug Panel

Simplified ADE integration

Integrated TestStand deployment

+

NI Switch Executive Intelligent Switch Management Software

Page 28: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

28 ni.com

Switch Automation with NI TestStand

Create or import switch

system configuration file into

NI Switch Executive

Configure the Switching

property in NI TestStand to

call preconfigured routes and

route groups

Step 1

Step 2

Page 29: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

29 ni.com

Switch Automation with NI TestStand

• Multithreaded Process Models

• Test sequence remains the same

• Add code for switching and code to avoid resource conflicts

Test Sequence for sequential

UUT tests Test Sequence for parallel

UUT tests

Page 30: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

30 ni.com

Sequential vs. Parallel vs. Auto-scheduled

Execution

• Simple 1 UUT test fixture

• Extremely simple code structure

• 12 time blocks for 4 units

• Multiple UUTs in parallel

• Switching allows hardware to be shared

• ~30–60% decrease in testing time

• Same HW setup as above

• TestStand auto-schedules resources

• ~15–20% further decrease in testing time

Page 31: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

31 ni.com

Resource Usage Profiler

• Provides immediate visualization and performance

statistics for all current executions, threads, and resources

• A fully optimized test should take 4X the longest test time

Sequential Execution Parallel Execution Auto-Scheduled Execution

Page 32: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

32 ni.com

• Smaller size

• Higher performance

• Flexible

• Easily upgraded

• User-defined

• Integrated

Synchronization

• Low power consumption

Summary: NI’s Value Proposition

Page 33: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

33 ni.com

National Instruments Services and Support

• Technical Support

• Web support resources

• Application engineers worldwide

• Premier support

• Instructor Led Training

• NI TestStand 1 – Test Development

• NI TestStand 2 – Framework Development

• Thousands of engineers trained each year

• Certification

• Certified TestStand Developer (CTD)

• Certified TestStand Architect (CTA)

ni.com/services

Page 34: Validierung und Verifikation mit der NI Plattform - adt.ch · Enable reuse of existing test code 4. ... NI-DAQmx etc. Pass Fail PXI Digitizer, PXI-FGEN, PXI-DAQ etc. ... Easy channel

34 ni.com

ni.com

• White papers

• Application notes

• Examples

• Other NI seminars

• Request callback support

• And much more… – ni.com/teststand

– ni.com/pxi