SlideShare uma empresa 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

Mais conteúdo relacionado

Destaque

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
vfmindia
 
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
επεξήγηση των στοιχείων του καμβά επιχειρηματικού μοντέλου (1) 1
moke_uth
 

Destaque (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
 
الاهداف الدولية لسلامة المرضى
الاهداف الدولية لسلامة المرضىالاهداف الدولية لسلامة المرضى
الاهداف الدولية لسلامة المرضى
 

Semelhante a Kmem 3116 al2 report (keb090001)

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
 
1250 alcohol-detection-with-vehicle-controlling
1250 alcohol-detection-with-vehicle-controlling1250 alcohol-detection-with-vehicle-controlling
1250 alcohol-detection-with-vehicle-controlling
Mikroc 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 digital
Iaetsd Iaetsd
 
ISEN 459 real Final Poster
ISEN 459 real Final PosterISEN 459 real Final Poster
ISEN 459 real Final Poster
Iskander 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 Technicians
Living Online
 
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
TMCS 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 features
duytn1
 

Semelhante a Kmem 3116 al2 report (keb090001) (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

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 

Último (20)

The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceEluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLJAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 

Kmem 3116 al2 report (keb090001)

  • 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