SlideShare una empresa de Scribd logo
1 de 6
KMEM 3116:
 INSTRUMENTATION AND
MEASUREMENT TECHNIQUES


ACTIVE LEARNING 2 REPORT



NAME            : Ahmad Aliff Bin Azmi

MATRIC NO.      : KEB090001

SUBMIT DATE     : 3 November 2011

LECTURER        : En. Ahmad Saifizul Bin Abdullah
QUESTION: Build a VI that can perform data acquisition using simulated DAQ-mx
device (no hardware is required). A simulated device behaves similar to a real
device. It is necessary to use Measurement and Automation Explorer (MAX) to
create a simulated device and DAQ Assistant VI to quickly aquire data and
generate signal. The VI front panel should be able to change the aquisition setup
such as physical channel, buffer size(samples per channel), sampling rate and input
range.

   1.   How to create the simulated NI-DAQmx device in MAX
   2.   How to configure the virtual channel using DAQ Assistant VI
   3.   How to configure signal input and output setting using DAQ Assistant VI
   4.   Observe the waveform graph when the acquisition setup changed to
        different setting. Explain the changes.


INTRODUCTION

NI-DAQmx is a programming interface you can use to communicate with data
acquisition devices. Measurement & Automation Explorer (MAX) is a tool
automatically installed with NI-DAQmx and used to configure National Instruments
hardware and software. With NI-DAQmx we can create simulated devices in MAX,
so no data acquisition hardware is required. An NI-DAQmx simulated device is a
software replica of data acquisition hardware.


OBJECTIVE

   1) To create virtual application by using Labview
   2) To understand front panels, block diagrams, icons, and connecter panels.
   3) To use built-in Labview function.



SOLUTION

Step A: Create the simulated NI-DAQ-mx device

   1) Measurement and Automation is used to create simulated NI-DAQ-mx
      device.
   2) Click My System and right-click Devices and Interfaces
   3) Select Create New... in the drop-down menu.
   4) Select NI-DAQmx Device » NI-DAQmx Simulated Device and click Finish. The
      Choose Device window will prompt to select a device.
   5) Select M Series DAQ » NI USB-6221 and click OK. The NI-DAQmx simulated
      device will appear in the Configuration pane within MAX.
   6) Switch to Front Panel.
Step B: Front Panel

      1) Waveform Graph is selected from Controls>>Graph Indicators>>Chart and
         placed on the front panel.
      2) Switch to Block Diagram.

Step C: Block Diagram

      1) DAQmx Create Virtual Channel.vi is selected from Measurement
         I/O>>DAQmx-Data Acquisition and place it on the block diagram. Then,
         create control on maximum value, minimum value and physical channel by
         right click on them. Analog Input Voltage is selected for this function.
      2) DAQmx Timing.vi is selected from Measurement I/O>>DAQmx-Data
         Acquisitionand place it on the block diagram. Then, create control on
         samples per channel and rate by right click on them. Sample mode is made
         to be constant (continuous sample).
      3) The AI voltage’s task out terminal is wired to the task in terminal of the sample
         clock.
      4) DAQmx Start Task.vi is created from Measurement I/O>>DAQmx-Data
         Acquisition and place it on the block diagram.
      5) The task out terminal of the sample clock is wired to the task in terminal of the
         start task.
      6) DAQmx Read.vi is created from Measurement I/O>>DAQmx-Data Acquisition
         and place it on the block diagram.
      7) Multiple Waveform is selected by right click on the Analog Wfm 1 Chan
         NSamp>>Analog>>signal channel.
      8) The task out terminal of the DAQmx Start Task is connected to the task in
         terminal of the DAQmx Read. Then, create control on number of samples per
         channel. The data terminal is connected to the waveform graph.
      9) While Loop is created from Functions>>All Function>>Structuresand
         surrounding the Analog Wfm 1 Chan NSamp and the Waveform Graph.

Step D: Running the VI (Front Panel)

 1)    The maximum value and minimum value are set as 10 and -10.
 2)    Physical channel must be selected one.
 3)    100 are set for the samples per channel and its rate.
 4)    From the front panel, click the Run Continuously button to run the VI.
 5)    Click the Abort Execution to stop the program.
Figure 1: Front Panel




Figure 2: Block Diagrams
DISCUSSION

M Series multifunction data acquisition (DAQ) modules for USB are optimized for
superior accuracy at fast sampling rates. They provide an onboard NI-PGIA 2
amplifier designed for fast settling times at high scanning rates, ensuring 16-bit
accuracy even when measuring all available channels at maximum speed. All
externally powered M Series devices have a minimum of 16 analog inputs, 24 digital
I/O lines, digital triggering, and two counter/timers. USB M Series devices are ideal for
test, control, and design applications including portable data logging, field
monitoring, embedded OEM, in-vehicle data acquisition, and academic. NI USB-
622x M Series devices have a one-year calibration interval.. M Series devices are
ideal for test, control, and design applications including:
• Portable data logging
• Field-monitoring applications
• Embedded OEM applications
• In-vehicle data acquisition
• Academic lab use – academic discounts available

A Waveform Graph accepts arrays of data in various forms, e.g. array, waveform, or
dynamic data. It then plots all the received points at once. It does not accept single
point values. When an array of points is wired to a waveform graph, it assumes the
points are equally spaced out. This can be changed in the properties of the graph or
using property nodes. These are the reasons to choose waveform graph in this
assignment.The Waveform Graph receives the initial time and time differences
contained within the waveform and displays the data accordingly. Unlike
the Waveform Chart, a waveform chart only remembers and displays a certain
number of points by storing them in a buffer. When the buffer gets full, the chart
starts overwriting the oldest points with new ones. As the data points become
available, the chart displays received data in addition to already existing points.

When the sampling rate is increased, the frequency of the graph will increases. The
curve of the curve will gets ‘thicker’

When the maximum and minimum value of the voltage value changes, the
amplitude of the graph will change.

If the sampling rate and samples per channel are very low, the shape of the graph
will be slightly change and the curve shape will near to flatten.
CONCLUSION
PC-based data acquisition uses a combination of modular hardware and flexible
software to transform your standard laptop or desktop computer into a user- defined
measurement or control system.National Instruments DAQ devices provide high-
performance I/O, industry-leading technologies, and software-driven productivity
gains for your application.

In this assignment, I manage to create a VI that can perform data acquisition by
showing waveform graph with different buffer size and sampling rate by using
simulated DAQ-mx device which is NI USB-6221.



Appendix

   1) http://sine.ni.com/ds/app/doc/p/id/ds-
      10/lang/enhttp://sine.ni.com/ds/app/doc/p/id/ds-9/lang/en

   2) http://zone.ni.com/devzone/cda/tut/p/id/3698

Más contenido relacionado

Destacado

سيكولوجية المريض
سيكولوجية المريضسيكولوجية المريض
سيكولوجية المريضSaeed Bajafar
 
[Pps] consultative closing
[Pps] consultative closing[Pps] consultative closing
[Pps] consultative closingRichard Go
 
Ross Wilkinson - Data Publication: Australian and Global Policy Developments
Ross Wilkinson - Data Publication: Australian and Global Policy DevelopmentsRoss Wilkinson - Data Publication: Australian and Global Policy Developments
Ross Wilkinson - Data Publication: Australian and Global Policy DevelopmentsWiley
 
Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...
Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...
Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...Alfredo Saad
 
Currículo lattes Abraao Soares Dias dos Santos Gracco
Currículo lattes   Abraao Soares Dias dos Santos GraccoCurrículo lattes   Abraao Soares Dias dos Santos Gracco
Currículo lattes Abraao Soares Dias dos Santos GraccoDaniel Reis Duarte Pousa
 
SCOUTING PREDATORY PUBLISHER
SCOUTING PREDATORY PUBLISHERSCOUTING PREDATORY PUBLISHER
SCOUTING PREDATORY PUBLISHERMaylanie Dazon
 
Business 7 ms fast start
Business   7 ms fast startBusiness   7 ms fast start
Business 7 ms fast startRichard Go
 
Vfm v mware vdi tco and roi framework
Vfm v mware vdi tco and roi frameworkVfm v mware vdi tco and roi framework
Vfm v mware vdi tco and roi frameworkvfmindia
 
Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060
Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060
Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060Daniel Reis Duarte Pousa
 
Pls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdh
Pls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdhPls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdh
Pls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdhDaniel Reis Duarte Pousa
 
Time management guide by foOfys
Time management guide by foOfysTime management guide by foOfys
Time management guide by foOfysfoOfys Solutions
 
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1moke_uth
 

Destacado (20)

سيكولوجية المريض
سيكولوجية المريضسيكولوجية المريض
سيكولوجية المريض
 
Reduce back pain
Reduce back painReduce back pain
Reduce back pain
 
[Pps] consultative closing
[Pps] consultative closing[Pps] consultative closing
[Pps] consultative closing
 
Women during ak party (1)
Women during ak party (1)Women during ak party (1)
Women during ak party (1)
 
Ross Wilkinson - Data Publication: Australian and Global Policy Developments
Ross Wilkinson - Data Publication: Australian and Global Policy DevelopmentsRoss Wilkinson - Data Publication: Australian and Global Policy Developments
Ross Wilkinson - Data Publication: Australian and Global Policy Developments
 
Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...
Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...
Garantindo o sucesso da terceirização de ti através da gestão de riscos do co...
 
Maximoda 2
Maximoda 2Maximoda 2
Maximoda 2
 
Irina Sluzkaja
Irina SluzkajaIrina Sluzkaja
Irina Sluzkaja
 
Método científico
Método científicoMétodo científico
Método científico
 
Currículo lattes Abraao Soares Dias dos Santos Gracco
Currículo lattes   Abraao Soares Dias dos Santos GraccoCurrículo lattes   Abraao Soares Dias dos Santos Gracco
Currículo lattes Abraao Soares Dias dos Santos Gracco
 
Defesa dilma-senado
Defesa dilma-senadoDefesa dilma-senado
Defesa dilma-senado
 
SCOUTING PREDATORY PUBLISHER
SCOUTING PREDATORY PUBLISHERSCOUTING PREDATORY PUBLISHER
SCOUTING PREDATORY PUBLISHER
 
Business 7 ms fast start
Business   7 ms fast startBusiness   7 ms fast start
Business 7 ms fast start
 
Vfm v mware vdi tco and roi framework
Vfm v mware vdi tco and roi frameworkVfm v mware vdi tco and roi framework
Vfm v mware vdi tco and roi framework
 
Oracle data Visualization(Components)
Oracle data Visualization(Components)Oracle data Visualization(Components)
Oracle data Visualization(Components)
 
Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060
Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060
Inconsistências do pls 2042016 Carmen Bressane resultado_1473683588060
 
Pls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdh
Pls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdhPls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdh
Pls 2042016 maria lucia fattorelli 12 09-2016-comissao-permanente-cdh
 
Time management guide by foOfys
Time management guide by foOfysTime management guide by foOfys
Time management guide by foOfys
 
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
 
الاهداف الدولية لسلامة المرضى
الاهداف الدولية لسلامة المرضىالاهداف الدولية لسلامة المرضى
الاهداف الدولية لسلامة المرضى
 

Similar a KMEM 3116 Instrumentation and Measurement Techniques Active Learning 2 Report

Km60 3 d printer new (wecompress)
Km60 3 d printer new (wecompress)Km60 3 d printer new (wecompress)
Km60 3 d printer new (wecompress)1000kv technologies
 
3d printer electronics engineering live projects abstracts @1000KV Technologi...
3d printer electronics engineering live projects abstracts @1000KV Technologi...3d printer electronics engineering live projects abstracts @1000KV Technologi...
3d printer electronics engineering live projects abstracts @1000KV Technologi...1000kv technologies
 
A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...
A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...
A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...Ryousei Takano
 
( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM ( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM Kevin Soni
 
Satellite ground station
Satellite ground stationSatellite ground station
Satellite ground stationArif Siddiqui
 
1250 alcohol-detection-with-vehicle-controlling
1250 alcohol-detection-with-vehicle-controlling1250 alcohol-detection-with-vehicle-controlling
1250 alcohol-detection-with-vehicle-controllingMikroc Srinivs
 
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd Iaetsd
 
ISEN 459 real Final Poster
ISEN 459 real Final PosterISEN 459 real Final Poster
ISEN 459 real Final PosterIskander El Amri
 
Practical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and TechniciansPractical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and TechniciansLiving Online
 
A Computer Based Artificial Neural Network Controller with Interactive Audito...
A Computer Based Artificial Neural Network Controller with Interactive Audito...A Computer Based Artificial Neural Network Controller with Interactive Audito...
A Computer Based Artificial Neural Network Controller with Interactive Audito...theijes
 
User Guide
User GuideUser Guide
User Guideglbarker
 
Guide To Data Acquisition Systems (Daq Systems) - TMCS.docx
Guide To Data Acquisition Systems (Daq Systems) - TMCS.docxGuide To Data Acquisition Systems (Daq Systems) - TMCS.docx
Guide To Data Acquisition Systems (Daq Systems) - TMCS.docxTMCS India
 
Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Rishabh Prakash
 
08 wsos features
08 wsos features08 wsos features
08 wsos featuresduytn1
 

Similar a KMEM 3116 Instrumentation and Measurement Techniques Active Learning 2 Report (20)

Waferpro
WaferproWaferpro
Waferpro
 
Km60 3 d printer new (wecompress)
Km60 3 d printer new (wecompress)Km60 3 d printer new (wecompress)
Km60 3 d printer new (wecompress)
 
Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016
 
3d printer electronics engineering live projects abstracts @1000KV Technologi...
3d printer electronics engineering live projects abstracts @1000KV Technologi...3d printer electronics engineering live projects abstracts @1000KV Technologi...
3d printer electronics engineering live projects abstracts @1000KV Technologi...
 
Data Acquisition System
Data Acquisition SystemData Acquisition System
Data Acquisition System
 
A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...
A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...
A Scalable and Distributed Electrical Power Monitoring System Utilizing Cloud...
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2
 
( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM ( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM
 
Satellite ground station
Satellite ground stationSatellite ground station
Satellite ground station
 
1250 alcohol-detection-with-vehicle-controlling
1250 alcohol-detection-with-vehicle-controlling1250 alcohol-detection-with-vehicle-controlling
1250 alcohol-detection-with-vehicle-controlling
 
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digital
 
ISEN 459 real Final Poster
ISEN 459 real Final PosterISEN 459 real Final Poster
ISEN 459 real Final Poster
 
Cap.10
Cap.10Cap.10
Cap.10
 
Practical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and TechniciansPractical Distributed Control Systems (DCS) for Engineers and Technicians
Practical Distributed Control Systems (DCS) for Engineers and Technicians
 
A Computer Based Artificial Neural Network Controller with Interactive Audito...
A Computer Based Artificial Neural Network Controller with Interactive Audito...A Computer Based Artificial Neural Network Controller with Interactive Audito...
A Computer Based Artificial Neural Network Controller with Interactive Audito...
 
User Guide
User GuideUser Guide
User Guide
 
Guide To Data Acquisition Systems (Daq Systems) - TMCS.docx
Guide To Data Acquisition Systems (Daq Systems) - TMCS.docxGuide To Data Acquisition Systems (Daq Systems) - TMCS.docx
Guide To Data Acquisition Systems (Daq Systems) - TMCS.docx
 
Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Internship Report (VTOL) (2)
Internship Report (VTOL) (2)
 
08 wsos features
08 wsos features08 wsos features
08 wsos features
 
Am044253258
Am044253258Am044253258
Am044253258
 

Último

Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreNZSG
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 
Technical Leaders - Working with the Management Team
Technical Leaders - Working with the Management TeamTechnical Leaders - Working with the Management Team
Technical Leaders - Working with the Management TeamArik Fletcher
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesDoe Paoro
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAScathy664059
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxShruti Mittal
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Americas Got Grants
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersPeter Horsten
 
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...Aggregage
 
Psychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh JiPsychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh Jiastral oracle
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryEffective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryWhittensFineJewelry1
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdfChris Skinner
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdfMintel Group
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfJamesConcepcion7
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...Operational Excellence Consulting
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOne Monitar
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...ssuserf63bd7
 

Último (20)

Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource Centre
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 
Technical Leaders - Working with the Management Team
Technical Leaders - Working with the Management TeamTechnical Leaders - Working with the Management Team
Technical Leaders - Working with the Management Team
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic Experiences
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAS
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptx
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exporters
 
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
Strategic Project Finance Essentials: A Project Manager’s Guide to Financial ...
 
Psychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh JiPsychic Reading | Spiritual Guidance – Astro Ganesh Ji
Psychic Reading | Spiritual Guidance – Astro Ganesh Ji
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryEffective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf
 
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptxThe Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdf
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
 

KMEM 3116 Instrumentation and Measurement Techniques Active Learning 2 Report

  • 1. KMEM 3116: INSTRUMENTATION AND MEASUREMENT TECHNIQUES ACTIVE LEARNING 2 REPORT NAME : Ahmad Aliff Bin Azmi MATRIC NO. : KEB090001 SUBMIT DATE : 3 November 2011 LECTURER : En. Ahmad Saifizul Bin Abdullah
  • 2. QUESTION: Build a VI that can perform data acquisition using simulated DAQ-mx device (no hardware is required). A simulated device behaves similar to a real device. It is necessary to use Measurement and Automation Explorer (MAX) to create a simulated device and DAQ Assistant VI to quickly aquire data and generate signal. The VI front panel should be able to change the aquisition setup such as physical channel, buffer size(samples per channel), sampling rate and input range. 1. How to create the simulated NI-DAQmx device in MAX 2. How to configure the virtual channel using DAQ Assistant VI 3. How to configure signal input and output setting using DAQ Assistant VI 4. Observe the waveform graph when the acquisition setup changed to different setting. Explain the changes. INTRODUCTION NI-DAQmx is a programming interface you can use to communicate with data acquisition devices. Measurement & Automation Explorer (MAX) is a tool automatically installed with NI-DAQmx and used to configure National Instruments hardware and software. With NI-DAQmx we can create simulated devices in MAX, so no data acquisition hardware is required. An NI-DAQmx simulated device is a software replica of data acquisition hardware. OBJECTIVE 1) To create virtual application by using Labview 2) To understand front panels, block diagrams, icons, and connecter panels. 3) To use built-in Labview function. SOLUTION Step A: Create the simulated NI-DAQ-mx device 1) Measurement and Automation is used to create simulated NI-DAQ-mx device. 2) Click My System and right-click Devices and Interfaces 3) Select Create New... in the drop-down menu. 4) Select NI-DAQmx Device » NI-DAQmx Simulated Device and click Finish. The Choose Device window will prompt to select a device. 5) Select M Series DAQ » NI USB-6221 and click OK. The NI-DAQmx simulated device will appear in the Configuration pane within MAX. 6) Switch to Front Panel.
  • 3. Step B: Front Panel 1) Waveform Graph is selected from Controls>>Graph Indicators>>Chart and placed on the front panel. 2) Switch to Block Diagram. Step C: Block Diagram 1) DAQmx Create Virtual Channel.vi is selected from Measurement I/O>>DAQmx-Data Acquisition and place it on the block diagram. Then, create control on maximum value, minimum value and physical channel by right click on them. Analog Input Voltage is selected for this function. 2) DAQmx Timing.vi is selected from Measurement I/O>>DAQmx-Data Acquisitionand place it on the block diagram. Then, create control on samples per channel and rate by right click on them. Sample mode is made to be constant (continuous sample). 3) The AI voltage’s task out terminal is wired to the task in terminal of the sample clock. 4) DAQmx Start Task.vi is created from Measurement I/O>>DAQmx-Data Acquisition and place it on the block diagram. 5) The task out terminal of the sample clock is wired to the task in terminal of the start task. 6) DAQmx Read.vi is created from Measurement I/O>>DAQmx-Data Acquisition and place it on the block diagram. 7) Multiple Waveform is selected by right click on the Analog Wfm 1 Chan NSamp>>Analog>>signal channel. 8) The task out terminal of the DAQmx Start Task is connected to the task in terminal of the DAQmx Read. Then, create control on number of samples per channel. The data terminal is connected to the waveform graph. 9) While Loop is created from Functions>>All Function>>Structuresand surrounding the Analog Wfm 1 Chan NSamp and the Waveform Graph. Step D: Running the VI (Front Panel) 1) The maximum value and minimum value are set as 10 and -10. 2) Physical channel must be selected one. 3) 100 are set for the samples per channel and its rate. 4) From the front panel, click the Run Continuously button to run the VI. 5) Click the Abort Execution to stop the program.
  • 4. Figure 1: Front Panel Figure 2: Block Diagrams
  • 5. DISCUSSION M Series multifunction data acquisition (DAQ) modules for USB are optimized for superior accuracy at fast sampling rates. They provide an onboard NI-PGIA 2 amplifier designed for fast settling times at high scanning rates, ensuring 16-bit accuracy even when measuring all available channels at maximum speed. All externally powered M Series devices have a minimum of 16 analog inputs, 24 digital I/O lines, digital triggering, and two counter/timers. USB M Series devices are ideal for test, control, and design applications including portable data logging, field monitoring, embedded OEM, in-vehicle data acquisition, and academic. NI USB- 622x M Series devices have a one-year calibration interval.. M Series devices are ideal for test, control, and design applications including: • Portable data logging • Field-monitoring applications • Embedded OEM applications • In-vehicle data acquisition • Academic lab use – academic discounts available A Waveform Graph accepts arrays of data in various forms, e.g. array, waveform, or dynamic data. It then plots all the received points at once. It does not accept single point values. When an array of points is wired to a waveform graph, it assumes the points are equally spaced out. This can be changed in the properties of the graph or using property nodes. These are the reasons to choose waveform graph in this assignment.The Waveform Graph receives the initial time and time differences contained within the waveform and displays the data accordingly. Unlike the Waveform Chart, a waveform chart only remembers and displays a certain number of points by storing them in a buffer. When the buffer gets full, the chart starts overwriting the oldest points with new ones. As the data points become available, the chart displays received data in addition to already existing points. When the sampling rate is increased, the frequency of the graph will increases. The curve of the curve will gets ‘thicker’ When the maximum and minimum value of the voltage value changes, the amplitude of the graph will change. If the sampling rate and samples per channel are very low, the shape of the graph will be slightly change and the curve shape will near to flatten.
  • 6. CONCLUSION PC-based data acquisition uses a combination of modular hardware and flexible software to transform your standard laptop or desktop computer into a user- defined measurement or control system.National Instruments DAQ devices provide high- performance I/O, industry-leading technologies, and software-driven productivity gains for your application. In this assignment, I manage to create a VI that can perform data acquisition by showing waveform graph with different buffer size and sampling rate by using simulated DAQ-mx device which is NI USB-6221. Appendix 1) http://sine.ni.com/ds/app/doc/p/id/ds- 10/lang/enhttp://sine.ni.com/ds/app/doc/p/id/ds-9/lang/en 2) http://zone.ni.com/devzone/cda/tut/p/id/3698