1.Check controls and indicators:
Numeric Control and Indicator
If you would like to Enrich your career with an Android certified professional, then visit Mindmajix - A Global online training platform: “LabVIEW training” Course.This course will help you to achieve excellence in this domain.
Solution:The front panel with controls and indicators and the respective block diagrams are shown in Figures P2.1(a) and P2.1(b).
2.Add, multiply, subtract and divide two numeric inputs.
Solution: The front panel has controls A and B and four indicators as shown in Figure P2.2(a). The block diagram has the respective terminals and functions as shown in Figure P2.2(b).
3.Add and multiply more than two numeric inputs.
Solution: The front panel has three numeric inputs while the block diagram contains compound arithmetic functions as shown in Figures P2.3(a) and P2.3(b).
4.Divide two numbers and find the remainder and quotient.
Solution: The front panel and block diagram for finding the remainder and quotient are shown in Figures P2.4(a) and P2.4(b).
5.Compute the expressions Y = (A*B*C) + (D*E) and Y = mx + c.
Solution: The front panel and block diagram for solving two equations are shown in
Figures P2.5(a) and P2.5(b).
6.Compute the equations (X1+2)*log(X1) using functions, Expression node and Express Formula for the given inputs X1.
Solution: The front panel and block diagram for solving an equation using three different ways are shown in Figures P2.6(a) and P2.6(b).
7.Convert Celsius to Fahrenheit.
Solution The front panel and block diagram for solving the equation F = (1.8C + 32) are shown in Figures P2.7(a) and P2.7(b).
8.Find whether the given number is odd or even.
Solution: Click continuous run and increment the number to see the even and odd LED glow alternatively. The front panel and block diagram are shown in Figures P2.8(a) and P2.8(b).
9.Convert radians to degrees and degrees to radians.
Solution: The front panel and block diagram are shown in Figures P2.9(a) and P2.9(b) where Degrees = Radians (180/p).
10.Find trigonometric values for the given angle. In LabVIEW computation of trigonometric values such as sine, cosine and tangent takes the input in radians. Hence, angles in degrees are to be converted to radians before calculation.
Solution: The angle is provided as control and the corresponding radians, sin, cos and tan values are displayed. The front panel and block diagram are shown in Figures P2.10(a) and P2.10(b).
11.Perform various Boolean Operations (AND, OR, NAND, NOR, XOR).
Solution: The front panel and block diagram are shown in Figures P2.11(a) and P2.11(b) and the truth table for Boolean operations can be checked.
12.Convert a binary number to a decimal number.
Solution: The front panel and block diagram are shown in Figures P2.12(a) and P2.12(b) to convert a binary to a digital number.
13.Split an input string into two outputs with reference to a separating character. Find the length of the input string and reverse the string.
Solution: Any input string can be provided. In this problem “LABVIEW BASICS” is given and the front panel and block diagram are shown in Figures P2.13(a) and P2.13(b).
14.Add two binary bits and find the sum and carry (half adder).
Solution: The front panel and block diagram are shown in Figures P2.14(a) and P2.14(b) and the half adder can be checked.
Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!
|LabVIEW Training||Dec 05 to Dec 20||View Details|
|LabVIEW Training||Dec 09 to Dec 24||View Details|
|LabVIEW Training||Dec 12 to Dec 27||View Details|
|LabVIEW Training||Dec 16 to Dec 31||View Details|
I am Ruchitha, working as a content writer for MindMajix technologies. My writings focus on the latest technical software, tutorials, and innovations. I am also into research about AI and Neuromarketing. I am a media post-graduate from BCU – Birmingham, UK. Before, my writings focused on business articles on digital marketing and social media. You can connect with me on LinkedIn.
Copyright © 2013 - 2023 MindMajix Technologies