170 likes | 911 Views
Physics 145 Introduction to Experimental Physics I Instructor: Karine Chesnel Office: N319 ESC Tel: 801- 422-5687 kchesnel@byu.edu Office hours: on appointment Class website: http://www.physics.byu.edu/faculty/chesnel/physics145.aspx. Lab 10 Labview. Applications.
E N D
Physics 145 Introduction to Experimental Physics I Instructor: KarineChesnel Office: N319 ESC Tel: 801- 422-5687 kchesnel@byu.edu Office hours: on appointment Class website: http://www.physics.byu.edu/faculty/chesnel/physics145.aspx
Lab 10 Labview
Applications Pendulum experiment Rotation frequency of rotor Lab 10: Labview Follow the Manual • L10.1: Chapter 1: Building a Virtual Instrument (VI) • L10.2: Chapter 2: Analyzing and saving a signal • L10.3: Chapter 3: Expanding the features of a VI • L10.4: Chapter 4: Data Acquisition
User Interface VI Physical experiment
Goal: Build a front panel Knob: to control a parameter STOP button to stop measuring Graph: to visualize signal in real time
Preview of the Front panel Preview of the Block Diagram
Adding Controls Front panel Run Stop • Changing signal type
Block diagram • Displaying two signals • on the graph • Wiring objects on the • Block diagram • Running the VI • Modifying the signal • (ex: arithmetic operation) • Customizing the knob • Customizing the waveform
Goal: Generate and analyze a signal Peak to peak amplitude Simulated signal Warning LED: if signal exceeds a certain level
Block diagram • Analyzing the amplitude • of the signal • Adding a warning light • Setting the warning level • Saving the data to file • Open a blank VI • Build the block diagram
Block diagram • Configure the VI to run • continuously until user stops it • Controlling the speed of • the execution (time delay) • Using a table to display data • Open a blank VI • Adding an Express VI • that simulates the signal • Modifying the signal
Goal: Adjust the data sampling and display data Average value Table of Averaged values
Goal: Acquire real experimental data Using the DAQ assistant system
DAQ assistant • Open a blank VI • Insert the DAQ assistant • Enter Input signal • (Analog Input) • Select physical channel • Adjust input range • Adjust number of samples • Graphing data from DAQ
time Pendulum experiment • Adjust rate and number of samples • Adjust custom scaling
laser Laser light blocked by tape Rotor axel w/ tape Periodic signal photodiode Rotation frequency of rotor Measure period as function of voltage Plot rotor frequency (Hz) vs voltage (V)