LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cumulative Exercise: LabVIEW Basics ... Calculator Solution

Hello there,

I am really new to LabView and I have little programming experience at all. I am working through the lessons provided by NI (thank you NI).

I did the exercise listed in the subject... build a simple calculator that can add, subtract, multiply, devide, raise to a power, and take a root. I got it on my own, then checked the answer to see how the author did hers.

However, the solution is just an image of the block diagram with no explainations of what she/he is doing. Since I am new, I don't recognize every symbol.

 

Can someone please explain this thing to me?

 

Attached is my calculator and the author's.

 

Thank you in advance.

Download All
0 Kudos
Message 1 of 2
(3,845 Views)

The only real difference I see is that the author used an Enum instead of a string for the Operator.  And Enum is an integer that represents an item from a list.

 

Just as an aside, you really should have some kind of wait in there.  As it is written now, you are using 100% of a CPU core.  Something like a 100ms wait would be fine here.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(3,835 Views)