Lab 03 - MathScript 3 ELECTRICAL ENGINEERING 20N Department of Electrical Engineering and Computer Sciences University of California Berkeley SIMON

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MathScript 3 ELECTRICAL ENGINEERING 20N Department of Electrical Engineering and Computer Sciences University of California, Berkeley SIMON HONG, HSIN-I LIU, JONATHAN KOTKER, HOWARD LEI, AND BABAK AYAZIFAR 1 Introduction In this lab, we will explore MathScript , the text-based scripting language of LabVIEW . MathScript is a very powerful tool, and is useful in dealing with arrays and signals, especially those not grounded in the time domain. MathScript involves text-based programming, which is in contrast to the graphi- cal dataflow programming presented in the previous two lab sessions. As we work through this lab, we will find various advantages and disadvantages to both methods, but the same functionalities can usually be achieved in either method. Eventually, however, complex VIs involve a successful mix of both meth- ods, and fortunately, MathScript code can be directly integrated into LabVIEW block diagrams through MathScript nodes. 1.1 Configuring your Local Machine Please make sure that you have installed MathScript on your local machine ( not on the instructional machines). In order to install MathScript , insert your LabVIEW DVD and run the LabVIEW setup once again. In the Product List screen, select LabVIEW 2009 MathScriptRT Module for installation, and rerun the installation. 1.2 Lab Goals • Explore the MathScript environment. • Integrate MathScript code into block diagrams using MathScript nodes. • Implement LabVIEW constructs in complex VIs. 1.3 Checkoff Points 2. MathScript Window Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .(30 minutes) 1. Example VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2. Self-Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .(10%) 3. Creating a MathScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (30 minutes) 1 1. Example VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2. Self-Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .(10%) 4. MathScript Node s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (45 minutes) 1. Example VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
View Full Document

This note was uploaded on 03/18/2012 for the course EE 20N taught by Professor Ayazifar during the Spring '08 term at University of California, Berkeley.

Page1 / 11

Lab 03 - MathScript 3 ELECTRICAL ENGINEERING 20N Department of Electrical Engineering and Computer Sciences University of California Berkeley SIMON

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online