190 likes | 324 Views
Laboratory 7 Introduction to LabVIEW. General Engineering Department Polytechnic University. Overview. Applications in EG101 Sample interfaces Remote Communication Graphic-based/Text-based Virtual Instruments (VIs) Front Panel/Diagram Panel Tools Front Panel Controls
E N D
Laboratory 7Introduction to LabVIEW General Engineering Department Polytechnic University
Overview • Applications in EG101 • Sample interfaces • Remote Communication • Graphic-based/Text-based • Virtual Instruments (VIs) • Front Panel/Diagram Panel • Tools • Front Panel Controls • Controls and Indicators • Color Representation • Objectives • Program 1: Calculator • Program 2: Voltmeter • LabVIEW Proficiency Test • Conclusion
Applications in EG101 • LAB 3: Microphone • LAB 7: LabVIEW • LAB 8: Vibrations, Waves and Spectra • LAB 10: Fiber Optics • TimeFreq • TwoChan • Filter • Record • Playback
Remote Communication • Internet • Control Devices • Robotic Arm • Bridge
Virtual Instruments (VIs) Appearance and operation imitates actual physical instruments
Front Panel Controls Terminal in diagram panel represents front panel object in source code
Controls and Indicators Two types of objects in front panel
Objectives • Learn basic, introductory commands • Input data (voltage) • Create two programs
Program 1: Calculator • Input • Keyboard • Input/Output board • Switch: 3 operations • 3 LEDs • 2 numeric controls • 1 indicator • Switch for input data • Case statement
Program 2: Voltmeter • Input from I/O block (±5 volts) • 7 LEDs: 7-segment display rounded to nearest integer • 1 negative sign LED • Case statement: control different combinations
LabVIEW Proficiency Test • 25-segment LED display with corresponding cases • 2 switches • binary-to-decimal • decimal-to-binary (inoperative) • Control • Warning function First 5 non-repeating letters and #s of name (last, first) and ID
Conclusions • Advantages • Saves money/space • Unlimited customized applications • More help • LabVIEW manuals • Help Team report Include: • Front/Diagram panels of both programs • Brief written explanations of implementation