using matlab for data acquisition, instrument control, and ...€¦ · data acquisition toolbox...

10
© 2010 The MathWorks, Inc. ® ® Using MATLAB ® for Data Acquisition, Instrument Control, and Data Analysis Isaac Noh Application Engineer

Upload: others

Post on 17-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

© 2

010 T

he M

ath

Work

s, In

c.

® ®

Using MATLAB® for Data Acquisition,

Instrument Control, and Data Analysis

Isaac NohApplication Engineer

Page 2: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

2

Explore & Discover

Automate

Access

Technical Computing Workflow

Share

Page 3: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

3

VISA-USB, GPIB, TCP/IP, etc.

Demonstration:Instrument Control and Data Acquisition

Function Generator

MATLAB

A/D

Page 4: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

4

Demonstration:

Advanced Visualization Tool

Page 5: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

5

Building an Analysis Application with MATLAB

Write reusable functions

Leverage development tools to

improve:

– Code quality

– Performance

– Supportability

Add a graphical user interface

– Use pre-defined dialog boxes

(select files, print graphics, …)

– Develop a complete custom

graphical user interface

ShareAccess Explore & Discover

Page 6: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

6

Give MATLAB® code to

other users

Share applications with

end users who do not

have MATLAB

– Use MATLAB® Compiler™

to create stand-alone

executables and

shared libraries

– Use Compiler add-ons to

create software components

.exe.dll

.lib

MATLAB® Compiler™

Java

MATLAB®

Builder™ NEMATLAB®

Builder™ EXMATLAB®

Builder™ JA

Deploying Applications with MATLAB

ShareAccess Explore & Discover

Page 7: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

7

MATLABDesktop

End-UserMachine

1

2

3Toolboxes

Deploying Applications with MATLAB®

MATLAB® Compiler™

.exe

Page 8: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

10

® ®

10

MATLAB Connects to Your Hardware Devices

Data Acquisition Toolbox

Plug-in data acquisition devices

and sound cards

Instrument Control Toolbox

Instruments and RS-232

serial devices

MATLAB

Interfaces for communicating

with everything

Image Acquisition Toolbox

Image capture devices

Vehicle Network Toolbox

Vector CAN bus interface

devices

Page 9: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

26

® ®

Acquiring Live Data into Simulink

Acquire live or measured data directly into

Simulink® models from hardware

Directly evaluate your Simulink algorithms

against real-world data

Support provided by

Data Acquisition Toolbox,

Instrument Control Toolbox, and

Image Acquisition Toolbox

Page 10: Using MATLAB for Data Acquisition, Instrument Control, and ...€¦ · Data Acquisition Toolbox Plug-in data acquisition devices and sound cards Instrument Control Toolbox Instruments

27

How Do I Get Started with Test and

Measurement in MATLAB? For more information, watch the recorded webinar:

Acquiring Live Data into MATLAB®

for Analysis www.mathworks.com/wbnr11882.

To discuss using MATLAB for test and measurement applications in your organization, receive technical literature, request a trial, or arrange an on-site MathWorks visit, please contact:

Byron Geannopoulos

Test and Measurement Sales

[email protected]

Or contact your company’s MathWorks account manager.