0% found this document useful (0 votes)
21 views3 pages

Lab 01 - Data Acquisition Programming

Uploaded by

Randy Clarck
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

Lab 01 - Data Acquisition Programming

Uploaded by

Randy Clarck
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Page 1 of 3

Lab Input-Output Programming through


01 USB
Prepared By:
Khairul Fikri bin Muhamad
Ismayuzri Ishak
Jabatan Kejuruteraan Pembuatan, UMP

Lab Instructor
Suhaimi Puteh

Lab Location
SENSOR AND INSTRUMENTATIONS LAB

Lab Outcomes:

By the end of this lab, students should be able to:

1. Write LabVIEW program to write to USB port


2. Write LabVIEW program to read data from USB port
3. Produce technical report

1.0 LabVIEW

LabVIEW – Laboratory Virtual Instrument Engineering Workbench


• Graphical programming language that allows for instrument control, data acquisition,
and pre/post processing of acquired data
• LabVIEW programs are called: Virtual Instruments (VIs) because their appearence
and operation imitate actual instruments.

A VI has three main parts:


1. The front panel: an interactive user interface of a VI, so named because it can
simulate the front panel of a physical instrument.
2. The block (or wiring) diagram: It is the VI’s source code, constructed in LabVIEW’s
graphical programming language, G. It is the actual executable program. Subroutine
in the block diagram of VI.
3. Icon/connector The LabVIEW Environment.

WARNING!!! ALTHOUGH THE KNOWLEDGE IN THIS LAB IS AMUSING, DO NOT TRY THIS AT HOME OR
TO YOUR OWN PC. IT MAY DAMAGE YOUR USB PORT IF NOT CONDUCTED PROFESSIONALLY. I AM
NOT RESPONSIBLE FOR ANY LIABILITY AS A RESULT OF USING THE INFORMATION IN THIS LAB. THIS
EXPERIMENT IS DESIGNED ONLY FOR LABORATORY SETTING. MORE KNOWLEDGE IS REQUIRED IF
YOU WANT TO EXPERIMENT ON YOUR OWN.

BFF3202 BFF3303 BHM3303 Lab 01_Data Acquisition Programming KFM-FKP-SEM II-2019/2020


Page 2 of 3

Fig 1. LabVIEW interface

2.0 MyRIO

Fig 2. MyRIO ARCHITECTURE

BFF3202 BFF3303 BHM3303 Lab 01_Data Acquisition Programming KFM-FKP-SEM II-2019/2020


Page 3 of 3

3.0 Engineering Activities

A. Simple Calculator: create a program that can simulate basic calculator (able to add,
subtract and multiply)
 Front panel of program must have:
 1 slide to control 3 different arithmetic operations
 (add +, subtract -, multiply *)
 3 LED (Boolean) indicators to show which arithmetic operation is selected
 Two numeric controls for inputting numbers
 One numeric indicator to display results
 Back panel must have:
 A case statement to control arithmetic operations

B. Discrete LED: create a program that can control an LED


 The program can control the on/off of the LED
 Use of virtual push button to control the blinker

4.0 Written technical report

You are required to submit a 10-pages technical report on how to implement the input-output
programming. The report should consist of:

1. Learning Outcomes
2. Background Knowledge
3. List of required components, equipments and software
4. Circuit diagrams and analysis
5. Step-by-step activities
6. Learning summary

Assume the readers of your report are industrial supervisors.

References

1. https://learn.ni.com/teach/resources/92
2. LabVIEW manual
3. myRIO manual

Page 3 of 3

BFF3202 BFF3303 BHM3303 Lab 01_Data Acquisition Programming KFM-FKP-SEM II-2019/2020

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy