This action might not be possible to undo. Are you sure you want to continue?

1. Build a VI that compares two numbers and turns on an LED if the first number is greater than or equal to the second number. Tip Use the Greater Or Equal? function located on the Functions»Comparison palette. Save the VI as Compare.vi. 2. Build a VI that generates a random number between 0.0 and 10.0 and divides the random number by a number specified on the front panel. If the number input is 0, the VI should turn on a front panel LED to indicate a divide by zero error. Save the VI as Divide.vi. 3. Using only a While Loop, build a combination For Loop andWhile Loop that stops either when it reaches a number of iterations specified with a front panel control, or when you click a stop button. Save the VI as Combo While-For Loop.vi. 4. Build a VI that continuously measures the temperature once per second and displays the temperature on a scope chart. If the temperature goes above or below limits specified with front panel controls, the VI turns on a front panel LED. The chart plots the temperature and the upper and lower temperature limits. You should be able to set the limit from the following front panel. Save the VI as Temperature Limit.vi. 5. Modify the VI you created in Exercise 4-8 to display the maximum and minimum values of the temperature trace. Tip Use shift registers and two Max & Min functions located on the Functions»Comparison palette. Save the VI as Temp Limit (max-min).vi. 6. Build a VI that reverses the order of an array containing 100 random numbers. For example, array[0] becomes array[99], array[1] becomes array[98], and so on. Tip Use the Reverse 1D Array function located on the Functions»Array palette to reverse the array order. Save the VI as Reverse Random Array.vi. 7. Build a VI that first accumulates an array of temperature values using the Thermometer VI, which you have already built. Set the array size with a control on the front panel. Initialize an array using the Initialize Array function of the same size where all the values are equal to 10. Add the two arrays, calculate the size of the final array, and extract the middle value from the final array. Display the Temperature Array, Initialized Array, Final Array, and Mid Value. Save the VI as Find Mid Value.vi.

vi. Threshold and Input Array. Output Array contains values from Input Array that are greater than Threshold. Build a VI that simulates the roll of a die with possible values 1–6 and records the number of times that the die rolls each value. Subtract. Build a VI that has two inputs. Save the VI as Extract 2D Array. For example. Save the VI as Calculator. Use only one shift register. Output Array. and returns the resulting array. the input array with values 1 23 10 5 7 11 results in the output array 23 50 77. Save the VI as Die Roller. After generating the array.5.) after each equation in the node. Tip Use the Decimate 1D Array function located on the Functions»Array palette. Divide. Save the VI as Array Pair Multiplier.vi. index each row and plot each row on its own graph. or Multiply) that the VI performs on the two numbers. Build a VI that generates a 1D array and then multiplies pairs of elements together. On the front panel. use digital controls to input two numbers and a digital indicator to display the result of the operation (Add. Create another VI that generates an array of random numbers between 0 and 1 and uses the Array Over Threshold VI to output an array with the values greater than 0. 9. . 12.vi.vi. and one output. starting with elements 0 and 1. 10. Build a VI that uses the Formula Node to calculate the following equations: y1 = x3 + x2 + 5 y2 = mx + b Use only one Formula Node for both equations and use a semicolon (.vi. The front panel should contain three graphs. Save the VI as Using Array Over Threshold. Save the VI as Array Over Threshold. The input is the number of times to roll the die and the outputs include the number of times the die falls on each possible value. Build a VI that functions like a calculator.vi.vi. Use a slide control to specify the operation to perform. 11.8. 13. Build a VI that generates a 2D array of three rows by 10 columns containing random numbers. Save the VI as Equations.

. Tip Use the Write Characters To File VI to write the header and the Write To Spreadsheet File VI to write the numeric data to the same file. Tip Use the Search and Replace String function.14. Save the VI as Spreadsheet Converter. Display both the tab-delimited and commadelimited spreadsheet strings on the front panel. Add a header to each column. Build a VI that generates a 2D array of 3 rows 100 columns of random numbers and writes the data transposed to a spreadsheet file. Use the high-level File I/O VIs located on the Functions»File I/O palette. Save the VI as More Spreadsheets.vi. Build a VI that converts tab-delimited spreadsheet strings to comma-delimited spreadsheet strings. 15. that is.vi. spreadsheet strings with columns separated by commas and rows separated by end of line characters.

Sign up to vote on this title

UsefulNot useful- 2009 Labview Exercises
- LabVIEW Exercises
- Parameters and Arrays
- Interview Questions .NET
- Soccer Best e Learning
- 11266_Array in C (1)
- One Dimensional Array and Multi-Dimensional Arrays.pdf
- VBNET 10
- computer
- Chapter 17 Projects
- C6000 MIB - FS Series - BMS Management via All Other Protocols
- 09 - Arrays
- opencv1refman_c
- C Programming Session 05
- c_arrays
- Lecture 05 - Arrays and Pointers
- Arrays c++ Print
- arrayc
- C# 3.0 Practical Learning I
- Data Structure
- Untitled
- srs_doc
- week13_14Array-revC
- F 201Array
- Data Structure 1
- Permutation - JavaScript - Generating Combinations From n Arrays With m Elements - Stack Overflow
- 012PHP_ Arrays - Manual
- h12466 XtremIO Brochure
- c Pgm Assessment 1 Questions (1)
- Excel
- Extra Labview Exercises

Are you sure?

This action might not be possible to undo. Are you sure you want to continue?

We've moved you to where you read on your other device.

Get the full title to continue

Get the full title to continue reading from where you left off, or restart the preview.