an overview of labview by: the software user-interface group!

11
An Overview of LabVIEW by: The Software User-Interface Group!

Upload: tobias-bennett-mclaughlin

Post on 04-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Overview of LabVIEW by: The Software User-Interface Group!

An Overview of LabVIEW

by: The Software User-Interface Group!

Page 2: An Overview of LabVIEW by: The Software User-Interface Group!

What is LabVIEW?• A graphical programing language from

National Instruments

• LabVIEW=Laboratory Virtual Instrumentation Engineering Workbench

• “Takes low level hardware commands and turns them into easy-to-understand, high-level functions”

• A leader in instrument control, hardware interfaces, data analysis, user-interface, measurement, and automation

Page 3: An Overview of LabVIEW by: The Software User-Interface Group!

Advantages• good for building piecewise: using small amounts

of code in a larger code

• visually programing is easier to learn

• better than MATLAB for controlling the interfaces between hardware

• NI has many pieces of hardware that are easily compatible with LabVIEW, but also can be connected to any hardware

• simpler system integration for all types of hardware and their corresponding software

• Easy to create the user-interface at the same time

Page 4: An Overview of LabVIEW by: The Software User-Interface Group!

What does it look like?

Page 5: An Overview of LabVIEW by: The Software User-Interface Group!

VI / Car Analogy•LabVIEW programs are called VIs -

Virutal Instruments

•They include the Front Panel and the Block Diagram

•Front Panel is like a driver’s cockpit: controls inputs, shows outputs, and connects to the engine - User Interface

•Block Diagram is like the engine of a car: allows it to function and connects everything together - Behind the Scenes

Page 6: An Overview of LabVIEW by: The Software User-Interface Group!

Front Panel and Block Diagram

Front PanelBlock

DiagramContains graphical source

codeBuilt with controls (inputs) and indicators (outputs)

Page 7: An Overview of LabVIEW by: The Software User-Interface Group!

Data Flow• LabVIEW uses a data flow method to

visualize programming in the block diagram

Includes:

Wires

Constants

Functions

Structures

Terminals

Page 8: An Overview of LabVIEW by: The Software User-Interface Group!

Approach With Hardware

Open the connection to the hardware

Configure hardware settings

Read and write measured data to and from hardware

Close connection to hardware

Page 9: An Overview of LabVIEW by: The Software User-Interface Group!

Resources

•Both software groups

•Carl Salvaggio

•Troy McKay

•Find -> Examples button

•Online tutorials at ni.com/labview , click on support, click on tutorials

Page 10: An Overview of LabVIEW by: The Software User-Interface Group!

How to Access LabVIEW

•LabVIEW is downloaded onto one computer in our lab

•Click on LabVIEW icon on desktop

Page 11: An Overview of LabVIEW by: The Software User-Interface Group!

Example!