Physics 434 Welcome
Download
Report
Transcript Physics 434 Welcome
Physics 434 Welcome
Leslie Rosenberg [prof]
Scott Davis [TA]
Thanks to
Toby Burnett [prof] (for much of the course material)
Jason Alferness [Equipment]
David Pengra [consultant]
Mac Stetzer [education coordinator]
Preliminaries
• class schedule. Lab room can often be made available
• The text book (new edition), home versions of the program
– Windows and Mac
– We will lend DVDs with a Linux version
• 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
• We’ll try using Catalyst tool CollectIt for turn-in of assignments.
• Project
– Individual, or collaboration with clearly separate parts
Course objectives
• Basic tasks involved in experiment
– Control
– Acquisition
– Analysis
•
•
•
•
Will practice using LabVIEW for all three tasks.
Why LabView…what else is there?
Do you need to know electronics and physics: a little
Computer interfacing: mostly just understand and
use the NI board and break-out-box. (The project
another story…it can be more complicated.)
Brief Schedule
Class
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
8
Module 5: GPIB multimeter
9, 10
Project
Explore the interface: Getting
Started Activity
• Start LabVIEW, look under Resources
• Open “Getting Started with LabVIEW”
• Read and follow the instructions in Chapter 1 until
“Adding a Control to the Front Panel”
Tools palette
Shift-right click
View | Tools Palette
Automatic tool selection
Operate
Position
/size/select
Edit Text
Wiring tool
Object short
cut menu
Scroll
Breakpoint
Probe
Get Color
Set color
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
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
If time…
• Continue with tutorial, start other activities, read the
text and look at the assignment