Question: Q 4 . ( 5 Marks ) By using labview Modify your temperature - monitoring VI so that the time and temperature data is stored
Q Marks By using labview
Modify your temperaturemonitoring VI so that the time and temperature data is stored in a twodimensional array that is visible on the screen and updated as each new point is acquired. The array should have four columns: Time, Celsius T Kelvin T and Fahrenheit T
Programming Hints
Place a shift register on the While loop and use the Initialize Array function on the Array palette to initialize the shift register as a D array with all elements equal to zero.
Select the Build Array function from the Array palette, place it inside the While loop, and expand it to show inputs. Wire the elapsed time to the top input, Celsius T to the second, Kelvin to the third, and Fahrenheit to the fourth. This creates a single D array off all four values
Now turn the D array just created into a new row in the D array in the shift register. Select the Insert Into Array function from the Array palette, place it in the While loop, and expand it to D Wire the left shift register into the array input of the function. Then wire the Loop Iteration counter from the While loop to the index row input. This will make the first set of data the first row in the D array, the second set of data becomes the second row, and so on Next, wire the D array created above to the new elementsubarray input. Finally, wire the output of the array to the right shift register. This assures that the updated D array will be updated again on the next iteration of the While loop
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
