DOC PREVIEW
PSU EE 200 - Lab_1_EE200_f13

This preview shows page 1-2-3-4-5-36-37-38-39-40-72-73-74-75-76 out of 76 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 76 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ColorGrayscaleEE 200 Fall 2013Lab 1.EE 200Design ToolsLaboratory 1Professor Jeffrey SchianoDepartment of Electrical Engineering1EE 200 Fall 2013Lab 1.Laboratory 1 Topics• Announcements• Review Material– EE 210, CMPEN 270, CMPSC 201• Introduction to LabVIEW– Graphical Data-Flow Programming2EE 200 Fall 2013Lab 1.• Bring your myDAQ starting with Lab 3• Request card access to room 302 EE West:https://service.ee.psu.edu/cardaccess/• Course Software3AnnouncementsEE 200 Fall 2013Lab 1.4Location of Course SoftwareEE 200 Fall 2013Lab 1.Exercise 1• EE 200 utilizes RC circuits to generate clock signals and to debounce switches• Determine – Initial capacitor voltage, VI– Final capacitor voltage, VF– Expression for v(t) in terms of VIand VF1R2RC()vt0tsV5EE 200 Fall 2013Lab 1.Exercise 16EE 200 Fall 2013Lab 1.Exercise 17EE 200 Fall 2013Lab 1.Exercise 18EE 200 Fall 2013Lab 1.Exercise 19EE 200 Fall 2013Lab 1.Exercise 2• The exclusive–or (XOR), performs the Boolean operation• Construct the truth table for the XOR operation• Implement the XOR operation using NAND gatesxyxyxyxyxy10EE 200 Fall 2013Lab 1.Exercise 211EE 200 Fall 2013Lab 1.Exercise 212EE 200 Fall 2013Lab 1.Exercise 213EE 200 Fall 2013Lab 1.Exercise 3• Expressas a sum of minterms, and find the minimal sum-of-products (SOP) expression using a three-variable Karnaugh-MAPF xz xy xyz yz 14EE 200 Fall 2013Lab 1.Exercise 3ym0m1m3m2m4m5m7m6yz00 0111 1001zxx15EE 200 Fall 2013Lab 1.Exercise 4• Determine the output of the following C program16EE 200 Fall 2013Lab 1.Exercise 5• Determine the output of the following C program17EE 200 Fall 2013Lab 1.Virtual Instruments (VI)• A Virtual Instrument (VI) is a LabVIEW program• The appearance and operation of VIs imitate physical instruments, such as oscilloscopes and digital multimeters18EE 200 Fall 2013Lab 1.Parts of VI• LABVIEW VIs contain three main components:1. Front Panel 3. Icon/Connector Pane2. Block Diagram19EE 200 Fall 2013Lab 1.Front Panel• User interface for the VI• Assemble the front panel with controls (inputs) and indicators (outputs)20EE 200 Fall 2013Lab 1.Block Diagrams• Contains the graphical data-flow code• Front panel objects appear as terminals on the block diagram21EE 200 Fall 2013Lab 1.Block Diagram: Nodes• Objects on the block diagram that have inputs and/or outputs and perform operations when a VI runs• Analogous to statements, operators, functions, and subroutines in control-flow programming languagesNodes22EE 200 Fall 2013Lab 1.Block Diagram: Data-Flow• LabVIEW follows a data-flow model for running VIs– A node executes only when data are available at all of its input terminals– A node supplies data to the output terminals only when the node finishes execution23EE 200 Fall 2013Lab 1.Icon/Connector Pane• Icon: graphical representation of a VI• Connector Pane: map of the VI inputs and outputs24EE 200 Fall 2013Lab 1.Exercise 6: A Simple VI• Goals1. Introduce the LabVIEW Environment─ Front Panel/Block Diagram─ Toolbar2. Create a VI that adds and subtracts two numbers3. Observe Dataflow Execution25EE 200 Fall 2013Lab 1.Exercise 6: Launch LabVIEW26EE 200 Fall 2013Lab 1.Exercise 6: Open a Blank VI 27EE 200 Fall 2013Lab 1.LabVIEW Exercise 6: Place Controls and Indicators28EE 200 Fall 2013Lab 1.LabVIEW Exercise 6:Construct Icon, Wire Connector29EE 200 Fall 2013Lab 1.Exercise 6: Wire the Block Diagram30EE 200 Fall 2013Lab 1.Exercise 6: Save the VI31EE 200 Fall 2013Lab 1.Exercise 6: Select Run Continuously32EE 200 Fall 2013Lab 1.Exercise 6:Dataflow Execution• Select Highlight Execution on the block diagram, then Run Continuously33EE 200 Fall 2013Lab 1.LabVIEW Keystroke Shortcuts• <Ctrl+Z> – Undo (also in Edit menu)• <Ctrl+E> – Toggle between Front Panel and Block Diagram• <Ctrl+B> – Remove Broken Wires from Block Diagram• <Ctrl+U> – Reroute wires and rearrange objects automatically• <Ctrl+H> – Activate/Deactivate Context Help Window34EE 200 Fall 2013Lab 1.SubVIs• A subVI is a VI that is inside another VI• Similar to a function in a control-flow programming language• Any VI can serve as a subVI• Double-click a subVI to view its front panel and block diagram35EE 200 Fall 2013Lab 1.Exercise 7: subVIsuse math.vi as a subVI• Use math.vi as a subVI• Generate controls and indicators from the block diagram by right clicking on the subVI input and output connectors36EE 200 Fall 2013Lab 1.Exercise 7:Construct a New Block Diagram37EE 200 Fall 2013Lab 1.Exercise 7:Rearrange the Front Panel• Test the new VI38EE 200 Fall 2013Lab 1.EE 200Design ToolsLaboratory 1Professor Jeffrey SchianoDepartment of Electrical Engineering1EE 200 Fall 2013Lab 1.Laboratory 1 Topics• Announcements• Review Material– EE 210, CMPEN 270, CMPSC 201• Introduction to LabVIEW– Graphical Data-Flow Programming2EE 200 Fall 2013Lab 1.• Bring your myDAQ starting with Lab 3• Request card access to room 302 EE West:https://service.ee.psu.edu/cardaccess/• Course Software3AnnouncementsEE 200 Fall 2013Lab 1.4Location of Course SoftwareEE 200 Fall 2013Lab 1.Exercise 1• EE 200 utilizes RC circuits to generate clock signals and to debounce switches• Determine – Initial capacitor voltage, VI– Final capacitor voltage, VF– Expression for v(t) in terms of VIand VF5EE 200 Fall 2013Lab 1.Exercise 16EE 200 Fall 2013Lab 1.Exercise 17EE 200 Fall 2013Lab 1.Exercise 18EE 200 Fall 2013Lab 1.Exercise 19EE 200 Fall 2013Lab 1.Exercise 2• The exclusive–or (XOR), performs the Boolean operation• Construct the truth table for the XOR operation• Implement the XOR operation using NAND gates10EE 200 Fall 2013Lab 1.Exercise 211EE 200 Fall 2013Lab 1.Exercise 212EE 200 Fall 2013Lab 1.Exercise 213EE 200 Fall 2013Lab 1.Exercise 3• Expressas a sum of minterms, and find the minimal sum-of-products (SOP) expression using a three-variable Karnaugh-MAP14EE 200 Fall 2013Lab 1.Exercise 315EE 200 Fall 2013Lab 1.Exercise 4• Determine the output of the following C program16EE 200 Fall 2013Lab 1.Exercise 5• Determine the output of the following C program17EE 200 Fall 2013Lab 1.Virtual Instruments (VI)• A Virtual Instrument (VI) is a LabVIEW program• The appearance and operation of VIs imitate physical instruments, such as oscilloscopes and digital multimeters18EE 200 Fall 2013Lab 1.Parts of VI• LABVIEW VIs contain three main components:1. Front Panel 3. Icon/Connector Pane2. Block


View Full Document

PSU EE 200 - Lab_1_EE200_f13

Download Lab_1_EE200_f13
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab_1_EE200_f13 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab_1_EE200_f13 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?