Question: LabVIEW problem: Use a Case Structure to design a program where the user will select one of four different mathematical operations to be performed on

LabVIEW problem:

Use a Case Structure to design a program where the user will select one of four different mathematical operations to be performed on a set of inputs (X & Y).

Each Case of the Case Structure will perform one of the four mathematical operations shown below. The Front Panel will have a numerical input for X, a numerical input for Y and an Enum control for the user to select either Add, Subtract, Multiply or Divide as the mathematical operation to be performed. A single numeric indicator on the Front Panel will show the results of the mathematical operation and a single string indicator will display the equation (as shown below) that was used.

Strings are handled just like any other data type in LabVIEW. There are constants, controls and indicators for use with strings just like the ones you use for numerics. For this problem treat the equation to be displayed as a string constant. Enclose the entire program in a While Loop with a Stop Button so the program will run continuously until the user presses the Stop Button.

The Four Mathematical Operations are; (X + Y), (X - Y), (X * Y), (X / Y).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!