To download NI software, including the products shown below, visit ni.com/downloads.
Overview
Calculator application using LabVIEW
Description:
The calculator can perform a number of simple mathematical operations and utilities the Producer/Consumer (Events) design pattern. When running the program, hover over certain buttons to display a tip strip as to their operation. When analyzing the block diagram, display Context Help (Ctrl-H) and hover over SubVIs to get a description of functionality.
Instructions:
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hey,
Liked the calculator but quick suggestion would be to switch the numbers around so that they replicate the order in the num pad & not a telephone!
Also I did notice that you've copied the standard windows calculator, and not the scientific one that follows BODMAS e.g. 8 + 2 * 9 it thinks = 90, not 26. Another suggestion could be to implement a little extra code to switch between the two perhaps?
Other than that, nice work!!
That is a slick architecture Pete.
Nice coding!
Hi, could someone please tweak the "Calculate Results" sub VI so it operates on BODMAD principals. My programming is OK but my maths is shakey, could someone help please!
Many thanks
I love this example, thank you!