ni.com. the use of hardware abstraction layers in automated calibration systems speaker/author: paul...

15
ni.com

Upload: wesley-hall

Post on 24-Dec-2015

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

ni.com

Page 2: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

ni.com

The Use of Hardware Abstraction Layers in Automated Calibration

Systems

Speaker/Author: Paul Packebush

Metrology Group Manager

Author: Rishee Bhatt

Staff Calibration Engineer

Page 3: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

3ni.com

Agenda

• Where to find software in calibration systems• Instrument Control• Hardware Abstraction Layers

• Industry-Standard• Vendor-Defined• User-Defined

• HAL Architecture• Object-Oriented Design• Pitfalls• Questions

Page 4: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

4ni.com

Software In Calibration Systems

Page 5: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

5ni.com

Instrument Control

Page 6: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

6ni.com

Instrument Service Life

Service Disruptions

• Obsolescence• External

calibration• Hardware

failure

Strategies

• Spare instrumentation

• Software modification

Page 7: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

7ni.com

Hardware Abstraction Layers (HALs)

• Layer between hardware and software• Used in modern operating systems• Standardizes interaction with different hardware architectures

Page 8: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

8ni.com

Hardware Abstraction Layers (HALs)

Industry-Standard

Vendor-Defined

User-Defined

Page 9: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

9ni.com

User-Defined HAL Architecture

Page 10: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

10

ni.com

Decoupling

Page 11: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

11

ni.com

Object-Oriented Design

14

Player

Hand

Score

Page 12: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

12

ni.com

Inheritance & Dynamic-Dispatch

Page 13: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

13

ni.com

Drop-In Replacement

Functionality Concerns

• Does the instrument support the functionality needed?

Accuracy Concerns

• Does the instrument provide the necessary level of accuracy?

Page 14: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

14

ni.com

Summary

• Benefits of a HAL• Decoupling• Dynamic Instrument Interchangeability

• Object-Oriented Design• Inheritance• Dynamic Dispatch

Page 15: Ni.com. The Use of Hardware Abstraction Layers in Automated Calibration Systems Speaker/Author: Paul Packebush Metrology Group Manager Author:Rishee Bhatt

ni.com

Questions?