Coder Social home page Coder Social logo

week5's Introduction

In this exercise, you will write 4 VIs that measures the response of Kundt's Tube. We are gonna use first 3 VIs as a subVIs, so connect terminals.

  1. Create a project from LabView menu. We are going to use this project as our container, all the VIs created will be created in this project.

  2. Write a VI called CreateIntegerArray that creates an array with given minimum, maximum and number of points. It also should be able to select between linear and logarithmic spacing. It should always have integer outputs.

CreateIntegerArray.vi

  1. Write a VI called SignalGenerator that generates a sine wave with given frequency and amplitude and outputs from AO. You can take a look at Problem 4.6 (Bode Magnitude Plot), for detailed instructions.

SignalGenerator.vi

  1. Write a VI called MeasureRMS that measures an analog signal from AI with given sampling rate and number of samples, and outputs a waveform and rms value for measured signal. You can take a look at Problem 4.6 (Bode Magnitude Plot), for detailed instructions.

MeasureRMS.vi

  1. Now, we are going to put all this together into our main VI called KundtsTube. This VI should get user input for either a sweep or a single frequency signal generation. Use CreateIntegerArray for sweep and use SignalGenerator to generate the signal.

To measure the response, use MeasureRMS and output your results as Gain vs Frequency. Also, use the VI that you created for saving spreadsheets to save your results at the end. The text file should include two columns: frequency and gain.

This VI should also have dwell time for sweeping frequencies.

KundtsTube.vi

Before uploading your finished project, make your results default from edit menu.

week5's People

Contributors

itsmejos avatar josephdougs avatar ukaratay avatar

Watchers

 avatar  avatar

Forkers

josephdougs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.