Here we try to find out solutions of every why and how with the help of science.
Search This Blog
Find an Element of a particular position of 2D array in Lab VIEW
4. Application of Structures function
For the 2D array as shown, do the
followings without using array functions:
a) Get the array size
b) Extract an element (i,j)
c) Extract a row i
d) Extract a column j
#indexing is off for both the loop
# selecting Last Value
1. Formula loop Using formula loop compute y for the following two functions: 𝑦1 = sin(x)/x and 𝑦2 = sin(x2)/x where x varies from 0 to 10 in step of 0.05. Plot 𝑦1 & 𝑦2 vs. x in a single XY graph. Use For Loop and Formula loop for this problem.
8. Dice Game (Exercise) In a board game a pair of dice (one is 6 sided and the other is 12 sided) is rolled. You win when there is a matching number, or the sum of the numbers rolled is equal to 18. In this problem we would like to build a VI that will do the following: i) Rolls the pair of dice every 100ms and displays the numbers rolled ii) A digital indicator displays the number of times dice rolled iii) An LED glows when you win iv) A digital indicator displays the number of wins v) Program stops after exactly100 rolls.
its really very helpful ;)
ReplyDelete