SlideShare a Scribd company logo
1 of 22
MATLAB Data Acquisition




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Contents
  •   Introduction
       •   MATLAB
             •    MATLAB Environment
             •    Data Acquisition Toolbox
             •    USB-6008 DAQ Device
             •    NI DAQmx driver
       •   Simulink
  •   Data Acquisition
       •   Introduction
       •   MAX – Measurement and Automation Explorer
  •   DAQ in MATLAB
  •   DAQ Application
  •   DAQ in Simulink




M2M COMMUNICATIONS        MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS     WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Introduction

  •   Matlab is a tool for technical computing, computation and visualization
      in an environment Eg-
        •   Math and computation
        •   Algorithm development
        •   Data acquisition
        •   Modeling, simulation, and prototyping
        •   Data analysis, exploration, and visualization
        •   Scientific and engineering graphics
        •   Application development, including graphical user interface building




M2M COMMUNICATIONS         MOBILE APPLICATION DEVELOPMENT              DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS      WIRELESS TEST AND MEASUREMENT               WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
MATLAB Environment




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
MATLAB Environment
  •    MATLAB has following windows
       •  Command Window
       •  Command History
       •  Workspace
       •  Current Directory
  •    The Command Window is the
       Main Window.
  •    Command Window is use to
       enter variables and to run
       functions and m-files scripts.




M2M COMMUNICATIONS       MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS    WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Data Acquisition Toolbox
  •     Data Acquisition toolbox provides functions for connecting MATLAB to
        Data Acquisition Hardware
  •     Data Acquisition toolbox provides a complete set of tools for analog i/p,
        analog o/p and digital I/o from variety of PC compatible data Acquisition
        hardware
  •     The toolbox configure data acquisition hardware and read data into
  •     MATLAB and Simulink for immediate analysis and send out data
  •     Data Acquisition toolbox is use to write and read data from USB-6008
        DAQ device from National Instruments




M2M COMMUNICATIONS       MOBILE APPLICATION DEVELOPMENT        DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS    WIRELESS TEST AND MEASUREMENT         WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
USB – 6008 DAQ Device
    NI USB – 6008 is a simple and low-cost multifunction I/o device from NI
    The device has following specifications
  •     8 Analog i/p’s (12 bits,10kS/s)
  •     Compatible with Lab View, Lab windows and Measurement Studio for
        visual studio.NET
  •     NI DAQmx Driver Software

   NI DAQmx Driver
  •     NI provides a native .NET API for NI – DAQmx
  •     This is available as a part of the NI - DAQmx
        driver and does not require a measurement
        Studio




M2M COMMUNICATIONS       MOBILE APPLICATION DEVELOPMENT      DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS    WIRELESS TEST AND MEASUREMENT       WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Simulink
  •    Simulink is developed by the MathWorks is a commercial tool for modeling,
       Simulating and analyzing dynamic systems
  •    Its primary interface is a graphical block diagramming tool and a customizable
       set of block libraries
  •    It offers tight integration with the rest of the MATLAB environment and can
       either drive MATLAB or be scripted from it
  •    Simulink is widely used in control theory and digital signal




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT        DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT         WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Data Acquisition
        Introduction
  •     The purpose of Data Acquisition is to measure an electrical or physical
        phenomenon such as Voltage, Current, temperature, pressure and sound
  •     PC-based Data uses a combination of modular hardware application
        Software and a computer to take measurements
  •     Data Acquisition is a process of acquiring signals from real world phenomena
        Digitizing the signals analyzing presenting and saving the data
  •     The DAQ systems has following
        parts
        • Physical inputs/output signals
        • DAQ device/hardware
        • Driver Software
        • Application Software




M2M COMMUNICATIONS       MOBILE APPLICATION DEVELOPMENT       DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS    WIRELESS TEST AND MEASUREMENT        WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Physical input/output signal
  •    A physical input/output signal is typically a voltage or current signal
       DAQ Device/Hardware
  •    DAQ hardware acts as the interface between the computer and the
        outside world
  •    It Primarily functions as a device that digitizes incoming analog signals
       so that the computer can interpret them
  •    A DAQ device(Data Acquisition Hardware) usually has these functions
        • Analog i/p
        • Analog o/p
        • Digital I/o
        • Counter/Timer




M2M COMMUNICATIONS       MOBILE APPLICATION DEVELOPMENT          DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS    WIRELESS TEST AND MEASUREMENT           WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
•   Different DAQ devices such as
       • “Desktop DAQ devices” where we
             need to plug a PCI DAQ board
             into the computer. The Software
             is running on the computer
       • “Portable DAQ devices” for connection
             to USB port Wi-Fi connections etc
             The Software is running on Computer
       • “Distributed DAQ devices” Where the
             software is developed on the computer
             and then downloaded to the distributed
             DAQ device




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Driver Software
  •   Driver Software is the layer of software for easily communicating with the hardware
  •   Its forms the Middle Layer between the Application software and the hardware
  •   Driver Software also prevents a programmer from having to register level programming
      or complicated commands in order to access the hardware functions
  •   Driver Software from NI : NI-DAQmx
       Application Software
  •   Application Software adds analysis and presentation capabilities to the driver software.
      The software applications does the tasks as
        •   Real Time Monitoring
        •   Data analysis
        •   Data logging
        •   Control Algorithms
        •   Human Machine interface(HMI)
  •   In order to create a DAQ application we need a programming development tool such as
      Visual Studio/C#, Lab View etc




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT        DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT         WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
MAX – Measurement and Automation Explorer
  •    Measurements and Automation Explorer ( MAX) provides access to the National
       Instruments devices
  •    With MAX we can
        •   Configure our NI hardware and software
        •   Create and edit channels, tasks, interfaces, scales, and virtual Instruments
        •   Execute system diagnostics
        •   View devices and instruments connected to the system
        •   Update the NI software




M2M COMMUNICATIONS         MOBILE APPLICATION DEVELOPMENT                DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS      WIRELESS TEST AND MEASUREMENT                 WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
DAQ in MATLAB
  •    It is used to create DAQ applications with or without Measurement Studio
       in both situation NI – DAQmx driver library is needed
       NI – DAQmx
  •    NI provides a native .NET API for NI – DAQmx. This is available as a part of
       the NI – DAQmx driver and does not require Measurement Studio
  •    Data Acquisition Programming with DAQmx involves the following steps
        •   Start the task
        •   Perform a read operation
        •   Perform a write operation to DAQ
        •   Stop and clear the task
  •    Data Acquisition is a text – based programming is similar to Lab View
       NI – DAQmx programming its function calls is same as NI – DAQmxVIs




M2M COMMUNICATIONS        MOBILE APPLICATION DEVELOPMENT        DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS     WIRELESS TEST AND MEASUREMENT         WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
DAQ Application
         Introduction
  •      Data Acquisition Toolbox in MATLAB create a simple Data Acquisition application
  •      A simple DAQ applications should follow these steps
          •      Initialization
          •      Read/Write
          •      Clean Up
  •      Initialization
  creating a device object
  In Initialization we need to specify what kind of device we are using. we can analog input()
  And analog output() function in data acquisition toolbox
  Example
  ai = analog input (‘nidaq’, ‘Dev1’);
  and:
  ao= analog output (‘nidaq’, Dev1’);




M2M COMMUNICATIONS       MOBILE APPLICATION DEVELOPMENT         DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS    WIRELESS TEST AND MEASUREMENT          WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
•   The data Acquisition Toolbox supports DAQ devices from different vendors. In order to use a
      Device from NI we need to set “nidaq” as the adapter name.DevX is the default name created
      By the system
  •   Adding channels
      Example: ai0 = addchannel(ai, 0);
  •   Read/Write
      Example: a0_value =3.5;
      putsample(a0,a0_value)
      ai_value= getsample(ai)
  •   Cleanup
      delete(a1)




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT       DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT        WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Sample Code
    % Write and Read to a NI USB-6008 DAQ device
    clear
    clc
    % Initialization-----------------------
    % Analog Input:
    ai = analoginput('nidaq', 'Dev1');
    % Analog Output:
    ao = analogoutput('nidaq', 'Dev1');
    % Adding Channels-----------------------
    % Analog Input - Channel 0
    ai0 = addchannel(ai, 0);




M2M COMMUNICATIONS         MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS      WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
ao0 = addchannel(ao, 0);
    % Write Data---------------------------
    ao_value = 3.5;
    putsample(ao, ao_value)
    % Read Data----------------------------
    ai_value = getsample(ai)
    % Cleaning Up--------------------------
    delete(ai)
    delete(ao)




M2M COMMUNICATIONS       MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS    WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
DAQ in Simulink
  •   Simulink has built – in blocks for data acquisition, but depending on the
      version of MATLAB/Simulink they might not work properly with USB-6008
      DAQ device. In that case we can call MATLAB function from Simulink
      Simulink/Data Acquisition Toolbox (R2007a) is used




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT       DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT        WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
Thank You




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
www.ishiriya.in
                                    sales@ishiriya.in
                                    +91 22 67109602

                                    Shop 18, Ground Floor, Powai Plaza,
                                    Opp. Pizza Hut, Hiranandani Gardens,
                                    Hiranandani, Powai, Mumbai 400076,
                                    India




M2M COMMUNICATIONS      MOBILE APPLICATION DEVELOPMENT   DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION


WIRELESS APPLICATIONS   WIRELESS TEST AND MEASUREMENT    WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES

More Related Content

What's hot

Design Like a Pro: Alarm Management
Design Like a Pro: Alarm ManagementDesign Like a Pro: Alarm Management
Design Like a Pro: Alarm ManagementInductive Automation
 
Top 10 Design & Security Tips to Elevate Your SCADA System
Top 10 Design & Security Tips to Elevate Your SCADA SystemTop 10 Design & Security Tips to Elevate Your SCADA System
Top 10 Design & Security Tips to Elevate Your SCADA SystemInductive Automation
 
How Schneider Electric sees Ethernet in the Industrial Environment - Part 1
How Schneider Electric sees Ethernet in the Industrial Environment - Part 1How Schneider Electric sees Ethernet in the Industrial Environment - Part 1
How Schneider Electric sees Ethernet in the Industrial Environment - Part 1Schneider Electric
 
Intelligent Switching: Bringing user and application knowledge and control to...
Intelligent Switching: Bringing user and application knowledge and control to...Intelligent Switching: Bringing user and application knowledge and control to...
Intelligent Switching: Bringing user and application knowledge and control to...digitallibrary
 
INTEREL GRMS -Catalogue
INTEREL GRMS -CatalogueINTEREL GRMS -Catalogue
INTEREL GRMS -Cataloguehasina shimul
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation finalSonu Kumar
 
Design Like a Pro: Alarm Management
Design Like a Pro: Alarm ManagementDesign Like a Pro: Alarm Management
Design Like a Pro: Alarm ManagementInductive Automation
 
iLumTech Sense and Control
iLumTech Sense and ControliLumTech Sense and Control
iLumTech Sense and ControliLumTech
 
Embedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft LabsEmbedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft LabsALTEN Calsoft Labs
 
Zenon introduction
Zenon introductionZenon introduction
Zenon introductionVu Tai
 
The differing ways to monitor and instrument
The differing ways to monitor and instrumentThe differing ways to monitor and instrument
The differing ways to monitor and instrumentJonah Kowall
 
Mobile Apps or Else
Mobile Apps or ElseMobile Apps or Else
Mobile Apps or ElseOAUGNJ
 
M-Box Introduction
M-Box IntroductionM-Box Introduction
M-Box IntroductionHubert Poels
 
From the Splunk Front Lines: Unlocking Insights from IBM i Data
From the Splunk Front Lines: Unlocking Insights from IBM i DataFrom the Splunk Front Lines: Unlocking Insights from IBM i Data
From the Splunk Front Lines: Unlocking Insights from IBM i DataPrecisely
 
Design Like a Pro: Planning Enterprise Solutions
Design Like a Pro: Planning Enterprise SolutionsDesign Like a Pro: Planning Enterprise Solutions
Design Like a Pro: Planning Enterprise SolutionsInductive Automation
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA SystemInductive Automation
 
Realise the Value in modern Data Center Infrastructure
Realise the Value in modern Data Center InfrastructureRealise the Value in modern Data Center Infrastructure
Realise the Value in modern Data Center InfrastructurePanduit
 
Implementing a Disconnected Mobile Application with DSI for Field Operations
Implementing a Disconnected Mobile Application with DSI for Field OperationsImplementing a Disconnected Mobile Application with DSI for Field Operations
Implementing a Disconnected Mobile Application with DSI for Field OperationsSmartbridge
 

What's hot (20)

Design Like a Pro: Alarm Management
Design Like a Pro: Alarm ManagementDesign Like a Pro: Alarm Management
Design Like a Pro: Alarm Management
 
Top 10 Design & Security Tips to Elevate Your SCADA System
Top 10 Design & Security Tips to Elevate Your SCADA SystemTop 10 Design & Security Tips to Elevate Your SCADA System
Top 10 Design & Security Tips to Elevate Your SCADA System
 
How Schneider Electric sees Ethernet in the Industrial Environment - Part 1
How Schneider Electric sees Ethernet in the Industrial Environment - Part 1How Schneider Electric sees Ethernet in the Industrial Environment - Part 1
How Schneider Electric sees Ethernet in the Industrial Environment - Part 1
 
Girish Dambal Ver 1.1
Girish Dambal Ver 1.1Girish Dambal Ver 1.1
Girish Dambal Ver 1.1
 
Intelligent Switching: Bringing user and application knowledge and control to...
Intelligent Switching: Bringing user and application knowledge and control to...Intelligent Switching: Bringing user and application knowledge and control to...
Intelligent Switching: Bringing user and application knowledge and control to...
 
INTEREL GRMS -Catalogue
INTEREL GRMS -CatalogueINTEREL GRMS -Catalogue
INTEREL GRMS -Catalogue
 
Plc documentation final
Plc documentation finalPlc documentation final
Plc documentation final
 
Design Like a Pro: Alarm Management
Design Like a Pro: Alarm ManagementDesign Like a Pro: Alarm Management
Design Like a Pro: Alarm Management
 
iLumTech Sense and Control
iLumTech Sense and ControliLumTech Sense and Control
iLumTech Sense and Control
 
Embedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft LabsEmbedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft Labs
 
ENPAQ Brochure
ENPAQ BrochureENPAQ Brochure
ENPAQ Brochure
 
Zenon introduction
Zenon introductionZenon introduction
Zenon introduction
 
The differing ways to monitor and instrument
The differing ways to monitor and instrumentThe differing ways to monitor and instrument
The differing ways to monitor and instrument
 
Mobile Apps or Else
Mobile Apps or ElseMobile Apps or Else
Mobile Apps or Else
 
M-Box Introduction
M-Box IntroductionM-Box Introduction
M-Box Introduction
 
From the Splunk Front Lines: Unlocking Insights from IBM i Data
From the Splunk Front Lines: Unlocking Insights from IBM i DataFrom the Splunk Front Lines: Unlocking Insights from IBM i Data
From the Splunk Front Lines: Unlocking Insights from IBM i Data
 
Design Like a Pro: Planning Enterprise Solutions
Design Like a Pro: Planning Enterprise SolutionsDesign Like a Pro: Planning Enterprise Solutions
Design Like a Pro: Planning Enterprise Solutions
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System
 
Realise the Value in modern Data Center Infrastructure
Realise the Value in modern Data Center InfrastructureRealise the Value in modern Data Center Infrastructure
Realise the Value in modern Data Center Infrastructure
 
Implementing a Disconnected Mobile Application with DSI for Field Operations
Implementing a Disconnected Mobile Application with DSI for Field OperationsImplementing a Disconnected Mobile Application with DSI for Field Operations
Implementing a Disconnected Mobile Application with DSI for Field Operations
 

Viewers also liked

Part 1 presentation 1
Part 1 presentation 1Part 1 presentation 1
Part 1 presentation 1Gaye Aktürk
 
Matlab 1
Matlab 1Matlab 1
Matlab 1asguna
 
Matlab 3
Matlab 3Matlab 3
Matlab 3asguna
 
Matlab 2
Matlab 2Matlab 2
Matlab 2asguna
 
HIZLANDIRILMIŞ KÜMELENME DERSİ
HIZLANDIRILMIŞ KÜMELENME DERSİHIZLANDIRILMIŞ KÜMELENME DERSİ
HIZLANDIRILMIŞ KÜMELENME DERSİOptimist Dergi
 
SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!
SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!
SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!Optimist Dergi
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signababak danyal
 
Değişim için Sosyal Girişim
Değişim için Sosyal GirişimDeğişim için Sosyal Girişim
Değişim için Sosyal GirişimOptimist Dergi
 
Sensors update
Sensors updateSensors update
Sensors updateisutp2
 
Sigara yasağının işletmeler ve toplum üzerine etkileri
Sigara yasağının işletmeler ve toplum üzerine etkileriSigara yasağının işletmeler ve toplum üzerine etkileri
Sigara yasağının işletmeler ve toplum üzerine etkileriDOU End Muh Sunum
 
Entrepreneurship incentives
Entrepreneurship incentivesEntrepreneurship incentives
Entrepreneurship incentivesBurak Oğuz
 

Viewers also liked (16)

Part 1 presentation 1
Part 1 presentation 1Part 1 presentation 1
Part 1 presentation 1
 
Dtf matlab 20150319
Dtf matlab 20150319Dtf matlab 20150319
Dtf matlab 20150319
 
Matlab 1
Matlab 1Matlab 1
Matlab 1
 
Matlab 3
Matlab 3Matlab 3
Matlab 3
 
Matlab 2
Matlab 2Matlab 2
Matlab 2
 
İşletmelerde Ar-Ge
İşletmelerde Ar-Geİşletmelerde Ar-Ge
İşletmelerde Ar-Ge
 
HIZLANDIRILMIŞ KÜMELENME DERSİ
HIZLANDIRILMIŞ KÜMELENME DERSİHIZLANDIRILMIŞ KÜMELENME DERSİ
HIZLANDIRILMIŞ KÜMELENME DERSİ
 
SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!
SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!
SAĞLIĞIN AR-GE'Sİ "TEMİZ ODA"DAN ÇIKIYOR!
 
Ar ge
Ar geAr ge
Ar ge
 
GE'NİN 2023 HAMLESİ
GE'NİN 2023 HAMLESİGE'NİN 2023 HAMLESİ
GE'NİN 2023 HAMLESİ
 
Lecture1 Intro To Signa
Lecture1 Intro To SignaLecture1 Intro To Signa
Lecture1 Intro To Signa
 
Değişim için Sosyal Girişim
Değişim için Sosyal GirişimDeğişim için Sosyal Girişim
Değişim için Sosyal Girişim
 
Sensors update
Sensors updateSensors update
Sensors update
 
Sns slide 1 2011
Sns slide 1 2011Sns slide 1 2011
Sns slide 1 2011
 
Sigara yasağının işletmeler ve toplum üzerine etkileri
Sigara yasağının işletmeler ve toplum üzerine etkileriSigara yasağının işletmeler ve toplum üzerine etkileri
Sigara yasağının işletmeler ve toplum üzerine etkileri
 
Entrepreneurship incentives
Entrepreneurship incentivesEntrepreneurship incentives
Entrepreneurship incentives
 

Similar to MATLAB Data Acquisition Guide

Data acquisition softwares
Data acquisition softwaresData acquisition softwares
Data acquisition softwaresSachithra Gayan
 
Industrial Automation
Industrial AutomationIndustrial Automation
Industrial AutomationTushar Swami
 
Introduction to lab_view
Introduction to lab_viewIntroduction to lab_view
Introduction to lab_viewSugeng Rianto
 
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsEurotech
 
People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013Eurotech
 
A seminar on superior control and data acquisition
A seminar on superior control and data acquisitionA seminar on superior control and data acquisition
A seminar on superior control and data acquisitionSuprabhat Bharti
 
Data Acquisition System & Data Logger
Data Acquisition System & Data LoggerData Acquisition System & Data Logger
Data Acquisition System & Data LoggerTrivedi Jay
 
Ishiriya Wireless Technologies-ARM Wireless
Ishiriya Wireless Technologies-ARM WirelessIshiriya Wireless Technologies-ARM Wireless
Ishiriya Wireless Technologies-ARM Wirelessbhadrah
 
Vibro box sitel midih-presentation oc2
Vibro box sitel midih-presentation oc2Vibro box sitel midih-presentation oc2
Vibro box sitel midih-presentation oc2MIDIH_EU
 
Industrial Internet
Industrial InternetIndustrial Internet
Industrial InternetAlex Lavell
 
Network examples and network software
Network examples and network softwareNetwork examples and network software
Network examples and network softwareHifza Javed
 
PME 2021 Design & Quote.pptx
PME 2021 Design & Quote.pptxPME 2021 Design & Quote.pptx
PME 2021 Design & Quote.pptxNavedKhan659845
 
Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...
Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...
Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...Angela Carver
 
Lab view daq signal conditioniing
Lab view daq signal conditioniingLab view daq signal conditioniing
Lab view daq signal conditioniingbestip
 

Similar to MATLAB Data Acquisition Guide (20)

Data acquisition softwares
Data acquisition softwaresData acquisition softwares
Data acquisition softwares
 
Cap.10
Cap.10Cap.10
Cap.10
 
Technology platform
Technology platformTechnology platform
Technology platform
 
Technology platform
Technology platformTechnology platform
Technology platform
 
Industrial Automation
Industrial AutomationIndustrial Automation
Industrial Automation
 
Data Acquisition System
Data Acquisition SystemData Acquisition System
Data Acquisition System
 
Introduction to lab_view
Introduction to lab_viewIntroduction to lab_view
Introduction to lab_view
 
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
 
People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013
 
A seminar on superior control and data acquisition
A seminar on superior control and data acquisitionA seminar on superior control and data acquisition
A seminar on superior control and data acquisition
 
Data Acquisition System & Data Logger
Data Acquisition System & Data LoggerData Acquisition System & Data Logger
Data Acquisition System & Data Logger
 
NetAlly Product Family Brochure
NetAlly Product Family BrochureNetAlly Product Family Brochure
NetAlly Product Family Brochure
 
NetAlly Product Family Brochure
NetAlly Product Family BrochureNetAlly Product Family Brochure
NetAlly Product Family Brochure
 
Ishiriya Wireless Technologies-ARM Wireless
Ishiriya Wireless Technologies-ARM WirelessIshiriya Wireless Technologies-ARM Wireless
Ishiriya Wireless Technologies-ARM Wireless
 
Vibro box sitel midih-presentation oc2
Vibro box sitel midih-presentation oc2Vibro box sitel midih-presentation oc2
Vibro box sitel midih-presentation oc2
 
Industrial Internet
Industrial InternetIndustrial Internet
Industrial Internet
 
Network examples and network software
Network examples and network softwareNetwork examples and network software
Network examples and network software
 
PME 2021 Design & Quote.pptx
PME 2021 Design & Quote.pptxPME 2021 Design & Quote.pptx
PME 2021 Design & Quote.pptx
 
Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...
Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...
Automated Data Collection & WMS: Empowering Your Operation With Real Time Acc...
 
Lab view daq signal conditioniing
Lab view daq signal conditioniingLab view daq signal conditioniing
Lab view daq signal conditioniing
 

Recently uploaded

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

MATLAB Data Acquisition Guide

  • 1. MATLAB Data Acquisition M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 2. M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 3. Contents • Introduction • MATLAB • MATLAB Environment • Data Acquisition Toolbox • USB-6008 DAQ Device • NI DAQmx driver • Simulink • Data Acquisition • Introduction • MAX – Measurement and Automation Explorer • DAQ in MATLAB • DAQ Application • DAQ in Simulink M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 4. Introduction • Matlab is a tool for technical computing, computation and visualization in an environment Eg- • Math and computation • Algorithm development • Data acquisition • Modeling, simulation, and prototyping • Data analysis, exploration, and visualization • Scientific and engineering graphics • Application development, including graphical user interface building M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 5. MATLAB Environment M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 6. MATLAB Environment • MATLAB has following windows • Command Window • Command History • Workspace • Current Directory • The Command Window is the Main Window. • Command Window is use to enter variables and to run functions and m-files scripts. M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 7. Data Acquisition Toolbox • Data Acquisition toolbox provides functions for connecting MATLAB to Data Acquisition Hardware • Data Acquisition toolbox provides a complete set of tools for analog i/p, analog o/p and digital I/o from variety of PC compatible data Acquisition hardware • The toolbox configure data acquisition hardware and read data into • MATLAB and Simulink for immediate analysis and send out data • Data Acquisition toolbox is use to write and read data from USB-6008 DAQ device from National Instruments M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 8. USB – 6008 DAQ Device NI USB – 6008 is a simple and low-cost multifunction I/o device from NI The device has following specifications • 8 Analog i/p’s (12 bits,10kS/s) • Compatible with Lab View, Lab windows and Measurement Studio for visual studio.NET • NI DAQmx Driver Software NI DAQmx Driver • NI provides a native .NET API for NI – DAQmx • This is available as a part of the NI - DAQmx driver and does not require a measurement Studio M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 9. Simulink • Simulink is developed by the MathWorks is a commercial tool for modeling, Simulating and analyzing dynamic systems • Its primary interface is a graphical block diagramming tool and a customizable set of block libraries • It offers tight integration with the rest of the MATLAB environment and can either drive MATLAB or be scripted from it • Simulink is widely used in control theory and digital signal M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 10. Data Acquisition Introduction • The purpose of Data Acquisition is to measure an electrical or physical phenomenon such as Voltage, Current, temperature, pressure and sound • PC-based Data uses a combination of modular hardware application Software and a computer to take measurements • Data Acquisition is a process of acquiring signals from real world phenomena Digitizing the signals analyzing presenting and saving the data • The DAQ systems has following parts • Physical inputs/output signals • DAQ device/hardware • Driver Software • Application Software M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 11. Physical input/output signal • A physical input/output signal is typically a voltage or current signal DAQ Device/Hardware • DAQ hardware acts as the interface between the computer and the outside world • It Primarily functions as a device that digitizes incoming analog signals so that the computer can interpret them • A DAQ device(Data Acquisition Hardware) usually has these functions • Analog i/p • Analog o/p • Digital I/o • Counter/Timer M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 12. Different DAQ devices such as • “Desktop DAQ devices” where we need to plug a PCI DAQ board into the computer. The Software is running on the computer • “Portable DAQ devices” for connection to USB port Wi-Fi connections etc The Software is running on Computer • “Distributed DAQ devices” Where the software is developed on the computer and then downloaded to the distributed DAQ device M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 13. Driver Software • Driver Software is the layer of software for easily communicating with the hardware • Its forms the Middle Layer between the Application software and the hardware • Driver Software also prevents a programmer from having to register level programming or complicated commands in order to access the hardware functions • Driver Software from NI : NI-DAQmx Application Software • Application Software adds analysis and presentation capabilities to the driver software. The software applications does the tasks as • Real Time Monitoring • Data analysis • Data logging • Control Algorithms • Human Machine interface(HMI) • In order to create a DAQ application we need a programming development tool such as Visual Studio/C#, Lab View etc M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 14. MAX – Measurement and Automation Explorer • Measurements and Automation Explorer ( MAX) provides access to the National Instruments devices • With MAX we can • Configure our NI hardware and software • Create and edit channels, tasks, interfaces, scales, and virtual Instruments • Execute system diagnostics • View devices and instruments connected to the system • Update the NI software M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 15. DAQ in MATLAB • It is used to create DAQ applications with or without Measurement Studio in both situation NI – DAQmx driver library is needed NI – DAQmx • NI provides a native .NET API for NI – DAQmx. This is available as a part of the NI – DAQmx driver and does not require Measurement Studio • Data Acquisition Programming with DAQmx involves the following steps • Start the task • Perform a read operation • Perform a write operation to DAQ • Stop and clear the task • Data Acquisition is a text – based programming is similar to Lab View NI – DAQmx programming its function calls is same as NI – DAQmxVIs M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 16. DAQ Application Introduction • Data Acquisition Toolbox in MATLAB create a simple Data Acquisition application • A simple DAQ applications should follow these steps • Initialization • Read/Write • Clean Up • Initialization creating a device object In Initialization we need to specify what kind of device we are using. we can analog input() And analog output() function in data acquisition toolbox Example ai = analog input (‘nidaq’, ‘Dev1’); and: ao= analog output (‘nidaq’, Dev1’); M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 17. The data Acquisition Toolbox supports DAQ devices from different vendors. In order to use a Device from NI we need to set “nidaq” as the adapter name.DevX is the default name created By the system • Adding channels Example: ai0 = addchannel(ai, 0); • Read/Write Example: a0_value =3.5; putsample(a0,a0_value) ai_value= getsample(ai) • Cleanup delete(a1) M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 18. Sample Code % Write and Read to a NI USB-6008 DAQ device clear clc % Initialization----------------------- % Analog Input: ai = analoginput('nidaq', 'Dev1'); % Analog Output: ao = analogoutput('nidaq', 'Dev1'); % Adding Channels----------------------- % Analog Input - Channel 0 ai0 = addchannel(ai, 0); M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 19. ao0 = addchannel(ao, 0); % Write Data--------------------------- ao_value = 3.5; putsample(ao, ao_value) % Read Data---------------------------- ai_value = getsample(ai) % Cleaning Up-------------------------- delete(ai) delete(ao) M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 20. DAQ in Simulink • Simulink has built – in blocks for data acquisition, but depending on the version of MATLAB/Simulink they might not work properly with USB-6008 DAQ device. In that case we can call MATLAB function from Simulink Simulink/Data Acquisition Toolbox (R2007a) is used M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 21. Thank You M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES
  • 22. www.ishiriya.in sales@ishiriya.in +91 22 67109602 Shop 18, Ground Floor, Powai Plaza, Opp. Pizza Hut, Hiranandani Gardens, Hiranandani, Powai, Mumbai 400076, India M2M COMMUNICATIONS MOBILE APPLICATION DEVELOPMENT DIGITAL SIGNAL PROCESSING AND DATA ACQUISTION WIRELESS APPLICATIONS WIRELESS TEST AND MEASUREMENT WIRELESS COMMUNICATION CHIPSETS AND MOBILE DEVICES