Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NOTE: I do not need number 1 answered I need help with question a and b. More less I need instruction to complet the task.

NOTE: I do not need number 1 answered I need help with question a and b. More less I need instruction to complet the task. Unfortunatley the lab manual was written poorly and is hard to figure out with no help. This is reference to LabVIEW.

  1. Write a program that generates 20 random numbers by using a FOR loop and displays this data on a Waveform Graph. You will have to build an array where a vector of the 20 random numbers generated are row 1 and a vector, starting with the number 1 and has 20 elements from 1 to 20, is row 2. Therefore, your first row will be comprised of your random number data, and the second row will be a data series that increases by 1s all the way to the value 20. To create the 2x20 array of values, you will use the LabVIEW Build Array node. This array should be sent to an Excel Spreadsheet file. Part of the assignment is to use Context help to figure out how to use Build array and options for writing to an Excel Spreadsheet to accomplish this task.

  1. Run the VI and open the data in Microsoft Excel. Answer the following questions. Place question and response in the Appendix of your memo:
  1. Where is the data stored? How is this determined? How could you specify a specific directory?

  1. Using the Transpose 2D Array function, transpose the data and rerun the VI. Answer the following questions. Place question and response in the Appendix of your memo:
  1. What is the effect? How could you change the output format to see more decimal places? (HINT: Use Context Help.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions