physics 434 welcome toby burnett [prof] durmus karatay[ta] jason alferness [equipment] david pengra...

9
Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Upload: ashlynn-bradford

Post on 29-Dec-2015

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Physics 434 Welcome

Toby Burnett [prof]Durmus Karatay[TA]

Jason Alferness [Equipment]David Pengra [consultant]

Page 2: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Preliminaries

• class schedule. Lab often available (modulo Chemistry)• The text book – reference only• home versions of the program: uwin• Grading (lab reports/homework, project)

– 2-person collaborations, same grade to each– The lab “report” is the VI:

• Documentation (under properties)– Intro, discussion, conclusions

• Save graphs with VI (operate | make current values default)• Comments in the diagrams, well-labeled front panel

• CollectIt for turn-in of all assignments.• Project

– Individual, or collaboration with clearly separate parts

Page 3: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Course objectives

• Basic concepts involved in experiment; 3 phases– Control– Acquisition– Analysis

• Will use LabVIEW for all 3. • Electronics and Physics: a little• Computer interfacing: mostly just understand and

use the NI USB module. (Project another story)

Page 4: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Brief Schedule

Week Topic

1 Intro to LabVIEW

2,3 Module 1: voltage vs. current

4 Module 2: Digitial I/O

5 Module 3: Kundt’s tube, resonance fit

6,7 Module 4: Kundt’s Tube, impulse, FFT

8 Module 5: TBD

9 -- Project

Page 5: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Explore the interface: Getting Started Activity

• Run the “NI Launcher” (If 2013)• click “LabVIEW 2013 (32-bit) Manuals”

– Or C:\Program Files (x86)\National Instruments\LabVIEW 2013\manuals

• Open “LV_getting_Started.pdf”• (Also open ‘LV_Quick_Reference’ in another

window, or print it out)• Read and follow the instructions in Chapter 1 until

“Adding a Control to the Front Panel”

Page 6: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Tools palette

Automatic tool selection

Operate Position/size/select

Edit Text

Wiring tool Object short cut menu

Scroll

Breakpoint Probe Get Color

Set color

Shift-right clickView | Tools Palette

Page 7: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

A quick exercise

• Blank VI• Right click on Panel• Select a numeric control (knob?)• Click on panel to install it• Right click again, select numeric indicator, install• Open wiring Diagram (cntrl-E or Window | show

block Diagram)• Use wiring tool to connect them (see how the cursur

changes?• Run continuously

Page 8: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

Simple exercise, continued

• Add a while loop on diagram (need the Functions Palette: show it, or right-click) – Right-click on input to the condition terminal, select “create

control” a stop button just appears!

• Now just run.• Try highlight execution (the light-bulb), probe

(mouse near a wire)• Turn on the context help (cntrl-H), try tiling the

windows (cntrl-T)• Add a second indicator, wire it in.• Use the labeling and color tools• Don’t forget the very important keys: cntrl-Z and Esc

Page 9: Physics 434 Welcome Toby Burnett [prof] Durmus Karatay[TA] Jason Alferness [Equipment] David Pengra [consultant]

If time…

• Continue with tutorial, start other activities, read the text and look at the assignment